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.008582/0.008583, allocations: 98.39 kB / 15.73 MB, free: 5.98 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.002518/0.002518, allocations: 194.4 kB / 16.67 MB, free: 5.91 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.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.198/2.198, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 60.14 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7662/0.7676, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.009396/0.777, allocations: 8.381 MB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.1955/0.9726, allocations: 154.5 MB / 1.247 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002894/0.9755, allocations: 48.06 kB / 1.247 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004095/0.9797, allocations: 1.108 MB / 1.248 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004497/0.9842, allocations: 1.046 MB / 1.249 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005535/0.9898, allocations: 1.681 MB / 1.25 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006943/0.9967, allocations: 4.642 MB / 1.255 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003107/0.9999, allocations: 1.848 MB / 1.257 GB, free: 404 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003278/1.003, allocations: 2.022 MB / 1.259 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/1.006, allocations: 1.698 MB / 1.26 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009624/1.007, allocations: 368 kB / 1.261 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/1.01, allocations: 1.159 MB / 1.262 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001674/1.012, allocations: 0.9971 MB / 1.263 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00312/1.015, allocations: 1.726 MB / 1.264 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007653/1.022, allocations: 5.454 MB / 1.27 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/1.022, allocations: 0 / 1.27 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.655e-06/1.022, allocations: 0 / 1.27 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001567/1.023, allocations: 0 / 1.27 GB, free: 2.938 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.009772/1.032, allocations: 4.168 MB / 1.274 GB, free: 14.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.032, allocations: 16.02 kB / 1.274 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003829/1.033, allocations: 290.9 kB / 1.274 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00793/1.041, allocations: 1.59 MB / 1.276 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004972/1.046, allocations: 2.691 MB / 1.278 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/1.046, allocations: 185.6 kB / 1.279 GB, free: 9.848 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000403/1.046, allocations: 208 kB / 1.279 GB, free: 9.645 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006876/1.053, allocations: 3.315 MB / 1.282 GB, free: 6.273 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.71e-05/1.053, allocations: 0 / 1.282 GB, free: 6.273 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002426/1.054, allocations: 84 kB / 1.282 GB, free: 6.191 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/1.054, allocations: 51.94 kB / 1.282 GB, free: 6.141 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008382/1.062, allocations: 3.952 MB / 1.286 GB, free: 2.184 MB / 1.014 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.02018/1.082, allocations: 10.04 MB / 1.296 GB, free: 7.875 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007131/1.089, allocations: 2.9 MB / 1.299 GB, free: 4.969 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003033/1.092, allocations: 1.375 MB / 1.3 GB, free: 3.594 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007028/1.093, allocations: 0.4913 MB / 1.3 GB, free: 3.008 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003427/1.097, allocations: 1.607 MB / 1.302 GB, free: 1.383 MB / 1.029 GB Notification: Performance of pre-optimization done (n=166): time 3.457e-06/1.097, allocations: 4 kB / 1.302 GB, free: 1.379 MB / 1.029 GB Notification: Performance of matching and sorting (n=166): time 0.01216/1.109, allocations: 4.712 MB / 1.307 GB, free: 12.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/1.109, allocations: 197.2 kB / 1.307 GB, free: 12.33 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005929/1.115, allocations: 3.115 MB / 1.31 GB, free: 9.195 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.000258/1.115, allocations: 61.7 kB / 1.31 GB, free: 9.129 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001324/1.116, allocations: 1.148 MB / 1.311 GB, free: 7.973 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007242/1.117, allocations: 0.5771 MB / 1.312 GB, free: 7.391 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009063/1.118, allocations: 403.4 kB / 1.312 GB, free: 6.992 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001068/1.118, allocations: 301.1 kB / 1.312 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003026/1.121, allocations: 1.358 MB / 1.314 GB, free: 5.336 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00335/1.125, allocations: 1.756 MB / 1.315 GB, free: 3.422 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006071/1.131, allocations: 2.959 MB / 1.318 GB, free: 332 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/1.131, allocations: 0 / 1.318 GB, free: 332 kB / 1.045 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.008613/1.139, allocations: 3.665 MB / 1.322 GB, free: 12.63 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/1.139, allocations: 8 kB / 1.322 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/1.139, allocations: 15.94 kB / 1.322 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/1.141, allocations: 371.3 kB / 1.322 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/1.144, allocations: 0.5382 MB / 1.323 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006001/1.15, allocations: 5.694 MB / 1.328 GB, free: 5.559 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003673/1.154, allocations: 494.2 kB / 1.329 GB, free: 5.074 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002849/1.154, allocations: 87.94 kB / 1.329 GB, free: 4.988 MB / 1.061 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.002803/1.157, allocations: 1.121 MB / 1.33 GB, free: 3.855 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/1.158, allocations: 262.3 kB / 1.33 GB, free: 3.598 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008928/1.167, allocations: 3.536 MB / 1.334 GB, free: 36 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/1.167, allocations: 19.98 kB / 1.334 GB, free: 16 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/1.167, allocations: 0 / 1.334 GB, free: 16 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/1.167, allocations: 15.97 kB / 1.334 GB, free: 0 / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004818/1.172, allocations: 2.956 MB / 1.336 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/1.172, allocations: 0 / 1.336 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/1.174, allocations: 427.3 kB / 1.337 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/1.176, allocations: 347.1 kB / 1.337 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002039/1.176, allocations: 63.94 kB / 1.337 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00583/1.182, allocations: 5.714 MB / 1.343 GB, free: 5.992 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.182, allocations: 0 / 1.343 GB, free: 5.992 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/1.193, allocations: 4.908 MB / 1.348 GB, free: 1.051 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002048/1.195, allocations: 0.7878 MB / 1.348 GB, free: 248 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000773/1.196, allocations: 55.88 kB / 1.348 GB, free: 192 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002625/1.199, allocations: 307.7 kB / 1.349 GB, free: 15.89 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003108/1.199, allocations: 129.9 kB / 1.349 GB, free: 15.76 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/1.199, allocations: 75.92 kB / 1.349 GB, free: 15.69 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.004072/1.203, allocations: 2.224 MB / 1.351 GB, free: 13.45 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.203, allocations: 0 / 1.351 GB, free: 13.45 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00263/1.206, allocations: 0.8343 MB / 1.352 GB, free: 12.62 MB / 1.092 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.01349/1.22, allocations: 6.067 MB / 1.358 GB, free: 6.691 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00771/1.227, allocations: 3.368 MB / 1.361 GB, free: 3.285 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.227, allocations: 0 / 1.361 GB, free: 3.285 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003928/1.231, allocations: 1.827 MB / 1.363 GB, free: 1.418 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004676/1.236, allocations: 0.8025 MB / 1.364 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05634/1.292, allocations: 27.72 MB / 1.391 GB, free: 4.402 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002589/1.295, allocations: 2.345 MB / 1.393 GB, free: 2.023 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003224/1.298, allocations: 0.9201 MB / 1.394 GB, free: 1.098 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002193/1.3, allocations: 1.155 MB / 1.395 GB, free: 15.94 MB / 1.139 GB Notification: Performance of SimCode: time 1.353e-06/1.3, allocations: 0 / 1.395 GB, free: 15.94 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1236/1.424, allocations: 70.24 MB / 1.464 GB, free: 10.32 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.47/18.89, allocations: 15.7 kB / 1.464 GB, free: 10.3 MB / 1.201 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