Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_9_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.001182/0.001186, 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.00118/0.00118, allocations: 193.5 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.3 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 68.03 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.681/0.6824, allocations: 140.4 MB / 0.9497 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.009076/0.6915, allocations: 8.396 MB / 0.9579 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1745/0.8661, allocations: 154.5 MB / 1.109 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.8688, allocations: 43.75 kB / 1.109 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003712/0.8725, allocations: 1.096 MB / 1.11 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00458/0.8772, allocations: 1.024 MB / 1.111 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005249/0.8824, allocations: 1.687 MB / 1.113 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006856/0.8893, allocations: 4.608 MB / 1.117 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002869/0.8922, allocations: 1.848 MB / 1.119 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003133/0.8953, allocations: 1.916 MB / 1.121 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003508/0.8989, allocations: 1.747 MB / 1.122 GB, free: 364 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.9003, allocations: 376 kB / 1.123 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003415/0.9037, allocations: 1.144 MB / 1.124 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001698/0.9054, allocations: 0.9777 MB / 1.125 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00305/0.9085, allocations: 1.738 MB / 1.127 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006097/0.9146, allocations: 5.384 MB / 1.132 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.9146, allocations: 0 / 1.132 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9146, allocations: 0 / 1.132 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.185e-05/0.9147, allocations: 0 / 1.132 GB, free: 6.719 MB / 0.8887 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.007897/0.9226, allocations: 4.076 MB / 1.136 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.9227, allocations: 16.02 kB / 1.136 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003424/0.923, allocations: 294.8 kB / 1.136 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007891/0.9309, allocations: 1.573 MB / 1.138 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004588/0.9356, allocations: 2.601 MB / 1.14 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.9358, allocations: 185.6 kB / 1.14 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003729/0.9362, allocations: 212 kB / 1.141 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006586/0.9428, allocations: 3.315 MB / 1.144 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.9428, allocations: 3.938 kB / 1.144 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/0.9431, allocations: 80 kB / 1.144 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/0.9431, allocations: 48 kB / 1.144 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008424/0.9515, allocations: 3.964 MB / 1.148 GB, free: 6.145 MB / 0.9044 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.01806/0.9696, allocations: 10.13 MB / 1.158 GB, free: 11.75 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006885/0.9766, allocations: 2.928 MB / 1.161 GB, free: 8.812 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002901/0.9795, allocations: 1.384 MB / 1.162 GB, free: 7.426 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007047/0.9802, allocations: 494.7 kB / 1.162 GB, free: 6.852 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003192/0.9834, allocations: 1.618 MB / 1.164 GB, free: 5.215 MB / 0.92 GB Notification: Performance of pre-optimization done (n=166): time 3.276e-06/0.9834, allocations: 0 / 1.164 GB, free: 5.215 MB / 0.92 GB Notification: Performance of matching and sorting (n=166): time 0.01205/0.9955, allocations: 4.746 MB / 1.169 GB, free: 380 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.9956, allocations: 201.2 kB / 1.169 GB, free: 136 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005145/1.001, allocations: 3.162 MB / 1.172 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002344/1.001, allocations: 65.7 kB / 1.172 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001093/1.002, allocations: 1.139 MB / 1.173 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000585/1.003, allocations: 0.5508 MB / 1.174 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006449/1.003, allocations: 399.3 kB / 1.174 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/1.003, allocations: 309.1 kB / 1.174 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002864/1.006, allocations: 1.354 MB / 1.176 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003119/1.009, allocations: 1.772 MB / 1.177 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005744/1.015, allocations: 2.967 MB / 1.18 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/1.015, allocations: 0 / 1.18 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.00837/1.024, allocations: 3.671 MB / 1.184 GB, free: 388 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/1.024, allocations: 12 kB / 1.184 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/1.024, allocations: 12.22 kB / 1.184 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/1.026, allocations: 395 kB / 1.184 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002539/1.028, allocations: 0.5342 MB / 1.185 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005412/1.034, allocations: 5.725 MB / 1.19 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00327/1.037, allocations: 479.2 kB / 1.191 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/1.037, allocations: 88.08 kB / 1.191 GB, free: 8.691 MB / 0.9512 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.001975/1.039, allocations: 1.124 MB / 1.192 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008956/1.04, allocations: 252.8 kB / 1.192 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008734/1.049, allocations: 3.56 MB / 1.196 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/1.049, allocations: 23.94 kB / 1.196 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.049, allocations: 4 kB / 1.196 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/1.049, allocations: 7.969 kB / 1.196 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/1.053, allocations: 2.959 MB / 1.199 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/1.053, allocations: 3.938 kB / 1.199 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002207/1.055, allocations: 427.4 kB / 1.199 GB, free: 260 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/1.057, allocations: 382.9 kB / 1.199 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/1.057, allocations: 59.94 kB / 1.199 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005228/1.062, allocations: 5.749 MB / 1.205 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.062, allocations: 3.938 kB / 1.205 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/1.074, allocations: 4.918 MB / 1.21 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002187/1.076, allocations: 0.7864 MB / 1.211 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009374/1.077, allocations: 52.08 kB / 1.211 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002674/1.08, allocations: 310.1 kB / 1.211 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/1.08, allocations: 141.7 kB / 1.211 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/1.08, allocations: 71.94 kB / 1.211 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.004441/1.085, allocations: 2.255 MB / 1.213 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/1.085, allocations: 0 / 1.213 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002829/1.087, allocations: 0.8303 MB / 1.214 GB, free: 192 kB / 0.9669 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.01348/1.101, allocations: 6.075 MB / 1.22 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01166/1.113, allocations: 4.841 MB / 1.225 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.113, allocations: 0.6875 kB / 1.225 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003993/1.117, allocations: 1.831 MB / 1.227 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004476/1.121, allocations: 0.8164 MB / 1.227 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06358/1.185, allocations: 30.76 MB / 1.257 GB, free: 2.059 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4658/1.651, allocations: 2.346 MB / 1.26 GB, free: 293.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003794/1.655, allocations: 0.9031 MB / 1.261 GB, free: 293.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/1.657, allocations: 1.149 MB / 1.262 GB, free: 293.5 MB / 1.014 GB Notification: Performance of SimCode: time 1.773e-06/1.657, allocations: 0 / 1.262 GB, free: 293.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/1.771, allocations: 69.93 MB / 1.33 GB, free: 244.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/15.66, allocations: 14.5 kB / 1.33 GB, free: 244.6 MB / 1.014 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.fmu > Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches