Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 108 kB / 15.6 MB, free: 132 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.0012/0.0012, allocations: 196.7 kB / 16.53 MB, free: 6.391 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.977/2.977, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 65.67 kB / 0.9082 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3879, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01308/0.401, allocations: 9.849 MB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1748/0.5758, allocations: 154.7 MB / 1.224 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002339/0.5782, allocations: 47.69 kB / 1.224 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003802/0.5821, allocations: 1.142 MB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00456/0.5867, allocations: 1.147 MB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005246/0.5919, allocations: 1.701 MB / 1.228 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007092/0.599, allocations: 4.853 MB / 1.233 GB, free: 408 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003503/0.6026, allocations: 1.795 MB / 1.235 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003331/0.6059, allocations: 1.948 MB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003413/0.6093, allocations: 1.788 MB / 1.238 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001382/0.6108, allocations: 380 kB / 1.239 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002922/0.6137, allocations: 1.148 MB / 1.24 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001617/0.6153, allocations: 0.9776 MB / 1.241 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003688/0.619, allocations: 1.8 MB / 1.243 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007476/0.6265, allocations: 5.458 MB / 1.248 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6266, allocations: 7.938 kB / 1.248 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6266, allocations: 0 / 1.248 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001747/0.6267, allocations: 0 / 1.248 GB, free: 1.023 MB / 0.9981 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.6928/1.32, allocations: 4.104 MB / 1.252 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/1.32, allocations: 10.62 kB / 1.252 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007358/1.32, allocations: 288.1 kB / 1.252 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009737/1.33, allocations: 1.58 MB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0078/1.338, allocations: 2.595 MB / 1.256 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002817/1.338, allocations: 189.1 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005922/1.339, allocations: 210.4 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008906/1.348, allocations: 3.323 MB / 1.26 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.89e-05/1.348, allocations: 2.625 kB / 1.26 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002647/1.348, allocations: 82.91 kB / 1.26 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/1.348, allocations: 47.38 kB / 1.26 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009796/1.358, allocations: 3.965 MB / 1.264 GB, free: 182.8 MB / 0.9981 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.02849/1.387, allocations: 10.52 MB / 1.274 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008949/1.396, allocations: 2.917 MB / 1.277 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003986/1.4, allocations: 1.381 MB / 1.278 GB, free: 175 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008654/1.401, allocations: 490.2 kB / 1.279 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004733/1.405, allocations: 1.619 MB / 1.28 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=166): time 9.438e-06/1.405, allocations: 1.156 kB / 1.28 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166): time 0.01532/1.421, allocations: 4.747 MB / 1.285 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/1.421, allocations: 201.1 kB / 1.285 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00793/1.429, allocations: 3.166 MB / 1.288 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007999/1.43, allocations: 63.36 kB / 1.288 GB, free: 169 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00157/1.431, allocations: 1.14 MB / 1.29 GB, free: 168 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/1.432, allocations: 0.5405 MB / 1.29 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001603/1.434, allocations: 409.5 kB / 1.291 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.889e-05/1.434, allocations: 301.1 kB / 1.291 GB, free: 167 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003297/1.437, allocations: 1.358 MB / 1.292 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003476/1.441, allocations: 1.768 MB / 1.294 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00637/1.447, allocations: 2.971 MB / 1.297 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-05/1.447, allocations: 3.938 kB / 1.297 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.008853/1.456, allocations: 3.67 MB / 1.3 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.456, allocations: 9.562 kB / 1.3 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/1.456, allocations: 9.906 kB / 1.3 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/1.458, allocations: 400.9 kB / 1.301 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/1.461, allocations: 0.5381 MB / 1.301 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004596/1.466, allocations: 5.729 MB / 1.307 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004447/1.47, allocations: 486.6 kB / 1.307 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005627/1.471, allocations: 87.94 kB / 1.307 GB, free: 153.9 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: 21 (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 (215): * Single equations (assignments): 211 * 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.00251/1.473, allocations: 1.122 MB / 1.308 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/1.474, allocations: 244.9 kB / 1.309 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00835/1.483, allocations: 3.568 MB / 1.312 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/1.483, allocations: 16 kB / 1.312 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/1.483, allocations: 0.5625 kB / 1.312 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/1.483, allocations: 15.95 kB / 1.312 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004683/1.488, allocations: 2.971 MB / 1.315 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.488, allocations: 4 kB / 1.315 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/1.49, allocations: 423.3 kB / 1.316 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001737/1.492, allocations: 368.3 kB / 1.316 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003022/1.492, allocations: 63.94 kB / 1.316 GB, free: 145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00431/1.496, allocations: 5.748 MB / 1.322 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.496, allocations: 0 / 1.322 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/1.508, allocations: 4.918 MB / 1.326 GB, free: 133.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002115/1.51, allocations: 0.798 MB / 1.327 GB, free: 133.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000629/1.51, allocations: 43.98 kB / 1.327 GB, free: 133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002485/1.513, allocations: 304.9 kB / 1.327 GB, free: 132.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003387/1.513, allocations: 145.7 kB / 1.328 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001655/1.513, allocations: 72.08 kB / 1.328 GB, free: 132.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003198/1.517, allocations: 2.259 MB / 1.33 GB, free: 130.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.517, allocations: 0 / 1.33 GB, free: 130.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003207/1.52, allocations: 0.8577 MB / 1.331 GB, free: 129.4 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.01227/1.532, allocations: 6.072 MB / 1.337 GB, free: 123.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01123/1.543, allocations: 4.852 MB / 1.341 GB, free: 118.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.543, allocations: 0 / 1.341 GB, free: 118.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003654/1.547, allocations: 1.823 MB / 1.343 GB, free: 116.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004361/1.552, allocations: 0.8359 MB / 1.344 GB, free: 116 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05884/1.61, allocations: 30.54 MB / 1.374 GB, free: 83.65 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/1.612, allocations: 2.345 MB / 1.376 GB, free: 81.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00389/1.616, allocations: 0.9126 MB / 1.377 GB, free: 80.35 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002254/1.618, allocations: 1.151 MB / 1.378 GB, free: 79.2 MB / 0.9981 GB Notification: Performance of SimCode: time 3.146e-06/1.618, allocations: 0 / 1.378 GB, free: 79.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/1.753, allocations: 70.59 MB / 1.447 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/16.16, allocations: 7.859 kB / 1.447 GB, free: 9.207 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 Buildings_latest_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches