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.001138/0.001138, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01022/0.01022, allocations: 170 kB / 16.27 MB, free: 6.66 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.624/1.624, allocations: 223.3 MB / 240.3 MB, free: 5.352 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 2.799/2.799, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003453, allocations: 8 kB / 0.8728 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8476/0.8479, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01197/0.8599, allocations: 9.278 MB / 1.032 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.2244/1.084, allocations: 150.8 MB / 1.179 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003114/1.088, allocations: 35.81 kB / 1.179 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004281/1.092, allocations: 1.015 MB / 1.18 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005622/1.098, allocations: 1.02 MB / 1.181 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005762/1.103, allocations: 1.466 MB / 1.183 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.009119/1.112, allocations: 4.953 MB / 1.188 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003088/1.116, allocations: 1.703 MB / 1.189 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/1.12, allocations: 1.568 MB / 1.191 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/1.123, allocations: 1.392 MB / 1.192 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004665/1.123, allocations: 100 kB / 1.192 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/1.125, allocations: 0.8663 MB / 1.193 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007432/1.126, allocations: 0.6301 MB / 1.194 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002155/1.128, allocations: 1.423 MB / 1.195 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006784/1.135, allocations: 5.132 MB / 1.2 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.135, allocations: 0 / 1.2 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.284e-06/1.135, allocations: 0 / 1.2 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001329/1.135, allocations: 0 / 1.2 GB, free: 9.789 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.01158/1.147, allocations: 3.527 MB / 1.204 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/1.147, allocations: 12.03 kB / 1.204 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009284/1.156, allocations: 1.647 MB / 1.205 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006011/1.162, allocations: 2.585 MB / 1.208 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/1.163, allocations: 197.6 kB / 1.208 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005787/1.163, allocations: 208 kB / 1.208 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008267/1.171, allocations: 3.346 MB / 1.211 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.945e-05/1.172, allocations: 3.984 kB / 1.211 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002897/1.172, allocations: 79.98 kB / 1.211 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.733e-05/1.172, allocations: 48 kB / 1.211 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/1.182, allocations: 4.015 MB / 1.215 GB, free: 9.922 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.02463/1.207, allocations: 10.59 MB / 1.226 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008136/1.215, allocations: 2.928 MB / 1.229 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004885/1.22, allocations: 1.384 MB / 1.23 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008873/1.221, allocations: 498.9 kB / 1.23 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004036/1.225, allocations: 1.633 MB / 1.232 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=166): time 4.82e-06/1.225, allocations: 0 / 1.232 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=166): time 0.01344/1.238, allocations: 4.773 MB / 1.237 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/1.239, allocations: 197.2 kB / 1.237 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00558/1.244, allocations: 3.169 MB / 1.24 GB, free: 140 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000554/1.245, allocations: 65.69 kB / 1.24 GB, free: 68 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/1.246, allocations: 1.127 MB / 1.241 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009539/1.247, allocations: 0.5507 MB / 1.242 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/1.247, allocations: 181.5 kB / 1.242 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.248, allocations: 301.1 kB / 1.242 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003467/1.251, allocations: 1.386 MB / 1.243 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00389/1.255, allocations: 1.776 MB / 1.245 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007301/1.262, allocations: 3.002 MB / 1.248 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.924e-05/1.262, allocations: 4 kB / 1.248 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01092/1.273, allocations: 3.738 MB / 1.252 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/1.273, allocations: 12 kB / 1.252 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/1.273, allocations: 8 kB / 1.252 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002191/1.276, allocations: 391.3 kB / 1.252 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003057/1.279, allocations: 0.5498 MB / 1.253 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7988/2.078, allocations: 5.385 MB / 1.258 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00514/2.083, allocations: 0.5028 MB / 1.258 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009081/2.084, allocations: 98.47 kB / 1.259 GB, free: 220.8 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.005243/2.089, allocations: 1.116 MB / 1.26 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001818/2.091, allocations: 245.2 kB / 1.26 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/2.104, allocations: 3.585 MB / 1.263 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.783e-05/2.104, allocations: 18.28 kB / 1.263 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/2.104, allocations: 1.25 kB / 1.263 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.259e-05/2.104, allocations: 9.609 kB / 1.263 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006756/2.111, allocations: 2.96 MB / 1.266 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/2.111, allocations: 3.938 kB / 1.266 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002585/2.113, allocations: 429.3 kB / 1.267 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002186/2.116, allocations: 380.5 kB / 1.267 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003578/2.116, allocations: 68.12 kB / 1.267 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005714/2.122, allocations: 5.389 MB / 1.272 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/2.122, allocations: 1.219 kB / 1.272 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/2.137, allocations: 4.936 MB / 1.277 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002944/2.14, allocations: 0.8206 MB / 1.278 GB, free: 211.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007851/2.141, allocations: 53.73 kB / 1.278 GB, free: 211.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002728/2.143, allocations: 344.5 kB / 1.278 GB, free: 211.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004178/2.144, allocations: 138.8 kB / 1.279 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/2.144, allocations: 74.83 kB / 1.279 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004352/2.148, allocations: 2.253 MB / 1.281 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.11e-07/2.148, allocations: 0 / 1.281 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004557/2.153, allocations: 0.8718 MB / 1.282 GB, free: 210.6 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.002454/2.155, allocations: 0.7002 MB / 1.282 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009118/2.165, allocations: 3.42 MB / 1.286 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/2.165, allocations: 0.5469 kB / 1.286 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003879/2.169, allocations: 1.842 MB / 1.288 GB, free: 208.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004689/2.173, allocations: 0.7655 MB / 1.288 GB, free: 208.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/2.186, allocations: 7.839 MB / 1.296 GB, free: 203.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/2.188, allocations: 2.345 MB / 1.298 GB, free: 201.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004182/2.192, allocations: 0.9047 MB / 1.299 GB, free: 200.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/2.193, allocations: 219.3 kB / 1.299 GB, free: 200.5 MB / 0.9981 GB Notification: Performance of SimCode: time 2.495e-06/2.193, allocations: 0 / 1.299 GB, free: 200.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.07769/2.271, allocations: 46.36 MB / 1.345 GB, free: 154.6 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/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