Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conExt.1..opa.T.1.|conExt.1..opa.T.2.|conExt.1..opa.T.3.|conExt.1..opa.T.4.|conExt.1..opa.T.5.|bouConExt.weaBus.TDryBul",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") translateModel(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conExt.1..opa.T.1.|conExt.1..opa.T.2.|conExt.1..opa.T.3.|conExt.1..opa.T.4.|conExt.1..opa.T.5.|bouConExt.weaBus.TDryBul",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 109.2 kB / 15.99 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 189.1 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.733/2.733, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 61.72 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3622, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01455/0.3768, allocations: 9.776 MB / 1.074 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.8557/1.233, allocations: 152.4 MB / 1.223 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003127/1.236, allocations: 37.94 kB / 1.223 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004184/1.24, allocations: 1.036 MB / 1.224 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004934/1.245, allocations: 1.033 MB / 1.225 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005045/1.25, allocations: 1.53 MB / 1.226 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007264/1.257, allocations: 4.961 MB / 1.231 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002738/1.26, allocations: 1.794 MB / 1.233 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/1.264, allocations: 2.107 MB / 1.235 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002821/1.267, allocations: 1.814 MB / 1.237 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005827/1.268, allocations: 380 kB / 1.237 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002503/1.27, allocations: 1.148 MB / 1.238 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001039/1.271, allocations: 0.9893 MB / 1.239 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002532/1.274, allocations: 1.789 MB / 1.241 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006652/1.28, allocations: 4.479 MB / 1.245 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.28, allocations: 0 / 1.245 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.525e-06/1.28, allocations: 0 / 1.245 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.432e-05/1.28, allocations: 0 / 1.245 GB, free: 15.64 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 502 * Number of variables: 502 Notification: Performance of Generate backend data structure: time 0.00984/1.29, allocations: 4.111 MB / 1.249 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/1.29, allocations: 12.03 kB / 1.249 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008098/1.298, allocations: 1.577 MB / 1.251 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0051/1.304, allocations: 2.589 MB / 1.253 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002496/1.304, allocations: 189.6 kB / 1.253 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003969/1.304, allocations: 212 kB / 1.254 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007321/1.312, allocations: 3.311 MB / 1.257 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.082e-05/1.312, allocations: 3.938 kB / 1.257 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002461/1.312, allocations: 87.98 kB / 1.257 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/1.312, allocations: 48 kB / 1.257 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009028/1.321, allocations: 3.96 MB / 1.261 GB, free: 15.34 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02057/1.342, allocations: 10.52 MB / 1.271 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007204/1.349, allocations: 2.912 MB / 1.274 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002968/1.352, allocations: 1.383 MB / 1.275 GB, free: 172 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008212/1.353, allocations: 499 kB / 1.276 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003446/1.356, allocations: 1.625 MB / 1.277 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=166): time 3.907e-06/1.356, allocations: 4 kB / 1.277 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166): time 0.01244/1.369, allocations: 4.742 MB / 1.282 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/1.369, allocations: 197.2 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00542/1.374, allocations: 3.165 MB / 1.285 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000356/1.375, allocations: 65.7 kB / 1.285 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001292/1.376, allocations: 1.127 MB / 1.286 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007382/1.377, allocations: 0.5508 MB / 1.287 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007716/1.377, allocations: 423.2 kB / 1.287 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.378, allocations: 305.1 kB / 1.288 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003107/1.381, allocations: 1.37 MB / 1.289 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003426/1.384, allocations: 1.78 MB / 1.291 GB, free: 15.89 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006167/1.39, allocations: 2.983 MB / 1.294 GB, free: 12.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/1.39, allocations: 7.938 kB / 1.294 GB, free: 12.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009198/1.4, allocations: 3.722 MB / 1.297 GB, free: 9.016 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/1.4, allocations: 12.22 kB / 1.297 GB, free: 9.004 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/1.4, allocations: 12 kB / 1.297 GB, free: 8.992 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/1.402, allocations: 391 kB / 1.298 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002587/1.404, allocations: 0.546 MB / 1.298 GB, free: 8.051 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006325/1.411, allocations: 5.744 MB / 1.304 GB, free: 1.855 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003877/1.414, allocations: 496.5 kB / 1.304 GB, free: 1.371 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002752/1.415, allocations: 95.94 kB / 1.304 GB, free: 1.277 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,$PRE.bouConExt.HDifTil[1].incAng.decAng.tNext,bouConExt.HDirTil[1].incAng.decAng.tNext,$PRE.bouConExt.HDirTil[1].incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00245/1.417, allocations: 1.132 MB / 1.305 GB, free: 140 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008432/1.418, allocations: 244.9 kB / 1.306 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008897/1.427, allocations: 3.563 MB / 1.309 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/1.427, allocations: 16 kB / 1.309 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.427, allocations: 7.938 kB / 1.309 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/1.427, allocations: 7.969 kB / 1.309 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004757/1.432, allocations: 2.959 MB / 1.312 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/1.432, allocations: 0 / 1.312 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002203/1.434, allocations: 439.3 kB / 1.313 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/1.436, allocations: 371.1 kB / 1.313 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001935/1.436, allocations: 59.94 kB / 1.313 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005973/1.442, allocations: 5.749 MB / 1.319 GB, free: 2.199 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.442, allocations: 0 / 1.319 GB, free: 2.199 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/1.454, allocations: 4.918 MB / 1.323 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/1.456, allocations: 0.7902 MB / 1.324 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004728/1.456, allocations: 47.98 kB / 1.324 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002327/1.459, allocations: 323.4 kB / 1.324 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003542/1.459, allocations: 137.8 kB / 1.325 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001729/1.459, allocations: 67.95 kB / 1.325 GB, free: 11.87 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.004221/1.463, allocations: 2.251 MB / 1.327 GB, free: 9.605 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.3e-07/1.464, allocations: 0 / 1.327 GB, free: 9.605 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003383/1.467, allocations: 0.8771 MB / 1.328 GB, free: 8.727 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (conExt[1].opa.lay[1].T[1],conExt[1].opa.lay[1].T[2],conExt[1].opa.lay[2].T[1],conExt[1].opa.lay[2].T[2],conExt[1].opa.lay[2].T[3]) * Number of discrete variables: 14 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,bouConExt.HDirTil[1].incAng.decAng.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 7 (bouConExt.HDirTil[1].incAng.decAng.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002457/1.469, allocations: 0.6943 MB / 1.328 GB, free: 8.211 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01231/1.482, allocations: 4.864 MB / 1.333 GB, free: 3.305 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.482, allocations: 0.6875 kB / 1.333 GB, free: 3.305 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.004052/1.486, allocations: 1.834 MB / 1.335 GB, free: 1.438 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004178/1.49, allocations: 0.8402 MB / 1.336 GB, free: 0.625 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/1.507, allocations: 7.554 MB / 1.343 GB, free: 9.031 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002694/1.51, allocations: 2.238 MB / 1.345 GB, free: 6.758 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00195/1.512, allocations: 251.3 kB / 1.346 GB, free: 6.512 MB / 1.061 GB Notification: Performance of SimCode: time 2.044e-06/1.512, allocations: 0 / 1.346 GB, free: 6.512 MB / 1.061 GB Notification: Performance of Templates: time 0.1564/1.668, allocations: 113.1 MB / 1.456 GB, free: 5.434 MB / 1.17 GB make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (rm -f Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches