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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00091/0.0009103, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.001071, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.454/1.454, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 437.8 MB / 0.7128 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003284, allocations: 8 kB / 0.8735 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6751/0.6755, allocations: 153.8 MB / 1.024 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01238/0.6879, allocations: 9.278 MB / 1.033 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1857/0.8736, allocations: 150.8 MB / 1.18 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.8759, allocations: 35.81 kB / 1.18 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002889/0.8789, allocations: 1.015 MB / 1.181 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003363/0.8822, allocations: 1.014 MB / 1.182 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003839/0.8861, allocations: 1.469 MB / 1.183 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006554/0.8926, allocations: 4.953 MB / 1.188 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002278/0.895, allocations: 1.703 MB / 1.19 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002763/0.8977, allocations: 1.572 MB / 1.191 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.8997, allocations: 1.378 MB / 1.193 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000278/0.9, allocations: 100 kB / 1.193 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.9018, allocations: 0.8702 MB / 1.194 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006543/0.9025, allocations: 0.6418 MB / 1.194 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001754/0.9043, allocations: 1.415 MB / 1.196 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004737/0.909, allocations: 4.314 MB / 1.2 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.909, allocations: 0 / 1.2 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.17e-06/0.909, allocations: 4 kB / 1.2 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001186/0.9092, allocations: 0 / 1.2 GB, free: 10.68 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.008099/0.9173, allocations: 3.523 MB / 1.203 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.9173, allocations: 12.03 kB / 1.203 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008566/0.9259, allocations: 1.651 MB / 1.205 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004951/0.9309, allocations: 2.593 MB / 1.208 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/0.9311, allocations: 189.6 kB / 1.208 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004391/0.9316, allocations: 208 kB / 1.208 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007203/0.9388, allocations: 3.346 MB / 1.211 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/0.9389, allocations: 7.938 kB / 1.211 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.9391, allocations: 80 kB / 1.211 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/0.9392, allocations: 52 kB / 1.211 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009319/0.9485, allocations: 4.011 MB / 1.215 GB, free: 10.81 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.02139/0.9699, allocations: 10.57 MB / 1.226 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007928/0.9779, allocations: 2.928 MB / 1.228 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003413/0.9813, allocations: 1.393 MB / 1.23 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008018/0.9821, allocations: 499 kB / 1.23 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003808/0.986, allocations: 1.629 MB / 1.232 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=166): time 6.111e-06/0.986, allocations: 4 kB / 1.232 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=166): time 0.01306/0.9991, allocations: 4.769 MB / 1.237 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.9993, allocations: 201.2 kB / 1.237 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006035/1.005, allocations: 3.173 MB / 1.24 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004623/1.006, allocations: 61.7 kB / 1.24 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00134/1.007, allocations: 1.123 MB / 1.241 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008193/1.008, allocations: 0.5508 MB / 1.242 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004405/1.008, allocations: 181.6 kB / 1.242 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.009, allocations: 305.1 kB / 1.242 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003408/1.012, allocations: 1.378 MB / 1.243 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003581/1.016, allocations: 1.788 MB / 1.245 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006621/1.022, allocations: 3.006 MB / 1.248 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/1.022, allocations: 4 kB / 1.248 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009564/1.032, allocations: 3.73 MB / 1.252 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/1.032, allocations: 8 kB / 1.252 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.187e-05/1.032, allocations: 20.22 kB / 1.252 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/1.034, allocations: 391 kB / 1.252 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002884/1.037, allocations: 0.5499 MB / 1.253 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.588/1.625, allocations: 5.394 MB / 1.258 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/1.629, allocations: 0.4971 MB / 1.258 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002815/1.629, allocations: 95.81 kB / 1.258 GB, free: 221.7 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.002303/1.632, allocations: 1.122 MB / 1.26 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005871/1.632, allocations: 245.4 kB / 1.26 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009213/1.641, allocations: 3.578 MB / 1.263 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/1.641, allocations: 17.41 kB / 1.263 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.642, allocations: 1.469 kB / 1.263 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.072e-05/1.642, allocations: 9.656 kB / 1.263 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0047/1.646, allocations: 2.966 MB / 1.266 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/1.646, allocations: 0.7188 kB / 1.266 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00224/1.649, allocations: 433.5 kB / 1.267 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001829/1.65, allocations: 375.6 kB / 1.267 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/1.651, allocations: 62.91 kB / 1.267 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004763/1.655, allocations: 5.399 MB / 1.272 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.655, allocations: 0.7031 kB / 1.272 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/1.667, allocations: 4.94 MB / 1.277 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/1.669, allocations: 0.8224 MB / 1.278 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004038/1.669, allocations: 46.56 kB / 1.278 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00228/1.672, allocations: 341.3 kB / 1.278 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003326/1.672, allocations: 135.9 kB / 1.278 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/1.672, allocations: 68.22 kB / 1.279 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003452/1.676, allocations: 2.255 MB / 1.281 GB, free: 211.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.676, allocations: 0 / 1.281 GB, free: 211.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002912/1.679, allocations: 0.872 MB / 1.282 GB, free: 211.7 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.001628/1.68, allocations: 0.6967 MB / 1.282 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007473/1.688, allocations: 3.413 MB / 1.286 GB, free: 210.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.688, allocations: 1.812 kB / 1.286 GB, free: 210.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003325/1.691, allocations: 1.839 MB / 1.287 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/1.695, allocations: 0.7756 MB / 1.288 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/1.706, allocations: 7.686 MB / 1.296 GB, free: 204.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/1.707, allocations: 2.233 MB / 1.298 GB, free: 202.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/1.708, allocations: 253.9 kB / 1.298 GB, free: 202.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.573e-06/1.708, allocations: 0 / 1.298 GB, free: 202.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.09621/1.804, allocations: 112.7 MB / 1.408 GB, free: 90.18 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=480 -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/jenkins1/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