Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001528/0.001528, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001702/0.001703, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.575/1.575, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.026/3.026, allocations: 437 MB / 0.71 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001887, allocations: 63.89 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7203/0.7222, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01321/0.7354, allocations: 9.811 MB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.2116/0.947, allocations: 152.4 MB / 1.175 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003112/0.9502, allocations: 35.81 kB / 1.175 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004197/0.9545, allocations: 1.015 MB / 1.176 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004758/0.9593, allocations: 1.027 MB / 1.177 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004898/0.9642, allocations: 1.466 MB / 1.179 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.008049/0.9722, allocations: 4.961 MB / 1.183 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002837/0.9751, allocations: 1.731 MB / 1.185 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003771/0.9789, allocations: 1.748 MB / 1.187 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002962/0.9819, allocations: 1.608 MB / 1.188 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005424/0.9824, allocations: 180 kB / 1.189 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.9848, allocations: 0.9444 MB / 1.189 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008804/0.9857, allocations: 0.755 MB / 1.19 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002253/0.988, allocations: 1.551 MB / 1.192 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006584/0.9945, allocations: 5.293 MB / 1.197 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.242e-05/0.9946, allocations: 4 kB / 1.197 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.374e-06/0.9946, allocations: 4 kB / 1.197 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001456/0.9948, allocations: 0 / 1.197 GB, free: 9.492 MB / 0.9512 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.01086/1.006, allocations: 4.099 MB / 1.201 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/1.006, allocations: 8.031 kB / 1.201 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008577/1.014, allocations: 1.584 MB / 1.202 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005965/1.02, allocations: 2.593 MB / 1.205 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/1.021, allocations: 189.6 kB / 1.205 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004311/1.021, allocations: 204 kB / 1.205 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007937/1.029, allocations: 3.323 MB / 1.209 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/1.029, allocations: 0 / 1.209 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002451/1.029, allocations: 76 kB / 1.209 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-05/1.029, allocations: 48 kB / 1.209 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009351/1.039, allocations: 3.972 MB / 1.213 GB, free: 9.191 MB / 0.9669 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.02217/1.061, allocations: 10.52 MB / 1.223 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007573/1.069, allocations: 2.92 MB / 1.226 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003173/1.072, allocations: 1.375 MB / 1.227 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008328/1.073, allocations: 491 kB / 1.228 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003741/1.076, allocations: 1.629 MB / 1.229 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=166): time 3.186e-06/1.076, allocations: 0 / 1.229 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=166): time 0.01298/1.089, allocations: 4.738 MB / 1.234 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/1.09, allocations: 209.1 kB / 1.234 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006327/1.096, allocations: 3.165 MB / 1.237 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006879/1.097, allocations: 65.7 kB / 1.237 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001458/1.098, allocations: 1.127 MB / 1.238 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001083/1.099, allocations: 0.543 MB / 1.239 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008349/1.1, allocations: 427.2 kB / 1.239 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.1, allocations: 301.1 kB / 1.239 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003386/1.104, allocations: 1.374 MB / 1.241 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003737/1.107, allocations: 1.776 MB / 1.242 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006589/1.114, allocations: 2.987 MB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/1.114, allocations: 4 kB / 1.245 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009333/1.123, allocations: 3.726 MB / 1.249 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/1.123, allocations: 8 kB / 1.249 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/1.123, allocations: 12 kB / 1.249 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/1.125, allocations: 403 kB / 1.249 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00284/1.128, allocations: 0.5421 MB / 1.25 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6791/1.807, allocations: 5.381 MB / 1.255 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004669/1.812, allocations: 0.4898 MB / 1.256 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005061/1.813, allocations: 94.64 kB / 1.256 GB, free: 223.2 MB / 0.9981 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.003221/1.816, allocations: 1.118 MB / 1.257 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/1.817, allocations: 250 kB / 1.257 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/1.827, allocations: 3.556 MB / 1.261 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/1.827, allocations: 18 kB / 1.261 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/1.827, allocations: 3 kB / 1.261 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.07e-05/1.828, allocations: 15.62 kB / 1.261 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006416/1.834, allocations: 2.969 MB / 1.264 GB, free: 221 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/1.834, allocations: 0 / 1.264 GB, free: 221 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002457/1.836, allocations: 421 kB / 1.264 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/1.839, allocations: 389.4 kB / 1.264 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002908/1.839, allocations: 67.09 kB / 1.264 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005317/1.844, allocations: 5.391 MB / 1.27 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.844, allocations: 0.5625 kB / 1.27 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/1.857, allocations: 4.92 MB / 1.274 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002198/1.859, allocations: 0.7826 MB / 1.275 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005546/1.86, allocations: 51.84 kB / 1.275 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002325/1.862, allocations: 326.4 kB / 1.276 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004003/1.863, allocations: 138 kB / 1.276 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/1.863, allocations: 67.23 kB / 1.276 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004041/1.867, allocations: 2.253 MB / 1.278 GB, free: 213 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.192e-06/1.867, allocations: 0 / 1.278 GB, free: 213 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003668/1.871, allocations: 0.8766 MB / 1.279 GB, free: 212.9 MB / 0.9981 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.002308/1.873, allocations: 0.6924 MB / 1.279 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00792/1.881, allocations: 3.395 MB / 1.283 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.881, allocations: 0 / 1.283 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003317/1.884, allocations: 1.831 MB / 1.285 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003896/1.888, allocations: 0.7913 MB / 1.285 GB, free: 210.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/1.899, allocations: 7.697 MB / 1.293 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/1.901, allocations: 2.352 MB / 1.295 GB, free: 203.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003/1.904, allocations: 0.9046 MB / 1.296 GB, free: 202.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008126/1.905, allocations: 227.3 kB / 1.296 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.362e-06/1.905, allocations: 0 / 1.296 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.0693/1.974, allocations: 47 MB / 1.342 GB, free: 156 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches