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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_10_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.001885/0.001885, allocations: 108 kB / 15.61 MB, free: 152 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.00296/0.00296, allocations: 192.1 kB / 16.53 MB, free: 6.664 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.645/2.645, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 59.91 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7113/0.7128, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01474/0.7276, allocations: 9.885 MB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.179/0.9066, allocations: 154.7 MB / 1.178 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.9086, allocations: 43.75 kB / 1.178 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003443/0.9122, allocations: 1.138 MB / 1.179 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003563/0.9157, allocations: 1.165 MB / 1.18 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004132/0.9199, allocations: 1.688 MB / 1.182 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005684/0.9256, allocations: 4.844 MB / 1.187 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002645/0.9282, allocations: 1.798 MB / 1.189 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.931, allocations: 1.952 MB / 1.19 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002645/0.9337, allocations: 1.782 MB / 1.192 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0009393/0.9346, allocations: 380 kB / 1.193 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.9371, allocations: 1.155 MB / 1.194 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.9384, allocations: 0.9776 MB / 1.195 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002723/0.9411, allocations: 1.793 MB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006358/0.9475, allocations: 5.465 MB / 1.202 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.9475, allocations: 0 / 1.202 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9475, allocations: 0 / 1.202 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001543/0.9477, allocations: 0 / 1.202 GB, free: 4.977 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.0115/0.9592, allocations: 4.107 MB / 1.206 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.9592, allocations: 8.031 kB / 1.206 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009594/0.9602, allocations: 290.9 kB / 1.206 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008489/0.9687, allocations: 1.581 MB / 1.208 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005989/0.9747, allocations: 2.601 MB / 1.21 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.975, allocations: 185.6 kB / 1.21 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007639/0.9758, allocations: 212 kB / 1.211 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00846/0.9842, allocations: 3.319 MB / 1.214 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/0.9843, allocations: 0 / 1.214 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004899/0.9848, allocations: 80 kB / 1.214 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-05/0.9849, allocations: 48 kB / 1.214 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009844/0.9947, allocations: 3.96 MB / 1.218 GB, free: 4.383 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.02261/1.017, allocations: 10.54 MB / 1.228 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008042/1.025, allocations: 2.919 MB / 1.231 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003328/1.029, allocations: 1.377 MB / 1.232 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007802/1.03, allocations: 490.7 kB / 1.233 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003803/1.033, allocations: 1.621 MB / 1.234 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=166): time 6.692e-06/1.033, allocations: 0 / 1.234 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of matching and sorting (n=166): time 0.01316/1.047, allocations: 4.738 MB / 1.239 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/1.047, allocations: 205.2 kB / 1.239 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005723/1.053, allocations: 3.162 MB / 1.242 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004115/1.053, allocations: 73.62 kB / 1.242 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001267/1.054, allocations: 1.143 MB / 1.243 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007922/1.055, allocations: 0.543 MB / 1.244 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009728/1.056, allocations: 407.2 kB / 1.244 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/1.056, allocations: 305.1 kB / 1.245 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003147/1.059, allocations: 1.35 MB / 1.246 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003458/1.063, allocations: 1.776 MB / 1.248 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006431/1.069, allocations: 2.967 MB / 1.251 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/1.069, allocations: 4 kB / 1.251 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.5439/1.613, allocations: 3.663 MB / 1.254 GB, free: 227 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/1.613, allocations: 12.22 kB / 1.254 GB, free: 227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/1.613, allocations: 10 kB / 1.254 GB, free: 227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/1.615, allocations: 400.4 kB / 1.255 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003164/1.618, allocations: 0.5372 MB / 1.255 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004856/1.623, allocations: 5.728 MB / 1.261 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003623/1.627, allocations: 489.5 kB / 1.261 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003401/1.627, allocations: 85.14 kB / 1.261 GB, free: 222.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: 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.002079/1.629, allocations: 1.112 MB / 1.262 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007438/1.63, allocations: 250.8 kB / 1.263 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009871/1.64, allocations: 3.558 MB / 1.266 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.698e-05/1.64, allocations: 18.98 kB / 1.266 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.64, allocations: 8.375 kB / 1.266 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.526e-05/1.64, allocations: 8.625 kB / 1.266 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005404/1.646, allocations: 2.967 MB / 1.269 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/1.646, allocations: 1.062 kB / 1.269 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002368/1.648, allocations: 424.6 kB / 1.269 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001785/1.65, allocations: 377.5 kB / 1.27 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002312/1.65, allocations: 60.22 kB / 1.27 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004654/1.655, allocations: 5.736 MB / 1.275 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.655, allocations: 0 / 1.275 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/1.666, allocations: 4.917 MB / 1.28 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/1.668, allocations: 0.7973 MB / 1.281 GB, free: 211.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007895/1.669, allocations: 51.34 kB / 1.281 GB, free: 211.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002734/1.671, allocations: 316.3 kB / 1.281 GB, free: 211.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003324/1.672, allocations: 132.7 kB / 1.281 GB, free: 211.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/1.672, allocations: 68.88 kB / 1.281 GB, free: 211.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004609/1.677, allocations: 2.254 MB / 1.284 GB, free: 211 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.677, allocations: 0 / 1.284 GB, free: 211 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003403/1.68, allocations: 0.8691 MB / 1.285 GB, free: 210.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.01311/1.693, allocations: 6.066 MB / 1.29 GB, free: 207.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01069/1.704, allocations: 4.848 MB / 1.295 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/1.704, allocations: 4 kB / 1.295 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003688/1.708, allocations: 1.831 MB / 1.297 GB, free: 203.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004455/1.712, allocations: 0.8428 MB / 1.298 GB, free: 202.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05012/1.762, allocations: 30.54 MB / 1.328 GB, free: 170 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002264/1.764, allocations: 2.349 MB / 1.33 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003739/1.768, allocations: 0.9126 MB / 1.331 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001917/1.77, allocations: 1.147 MB / 1.332 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/1.77, allocations: 3.938 kB / 1.332 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/1.882, allocations: 70.58 MB / 1.401 GB, free: 95.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/15.89, allocations: 6.125 kB / 1.401 GB, free: 95.66 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.fmu > Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.csv","/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