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.007621/0.007621, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.00178/0.00178, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.234/2.234, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9476/0.9489, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01078/0.9597, allocations: 8.389 MB / 1.096 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.1923/1.152, allocations: 154.5 MB / 1.247 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003793/1.156, allocations: 44.31 kB / 1.247 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004394/1.16, allocations: 1.095 MB / 1.248 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004434/1.165, allocations: 1.029 MB / 1.249 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004841/1.17, allocations: 1.69 MB / 1.25 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005488/1.175, allocations: 4.637 MB / 1.255 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/1.178, allocations: 1.841 MB / 1.257 GB, free: 480 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/1.181, allocations: 1.971 MB / 1.259 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002436/1.183, allocations: 1.692 MB / 1.26 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008685/1.184, allocations: 372 kB / 1.261 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/1.186, allocations: 1.163 MB / 1.262 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001258/1.188, allocations: 0.9932 MB / 1.263 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002799/1.191, allocations: 1.73 MB / 1.264 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007289/1.198, allocations: 5.438 MB / 1.27 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/1.198, allocations: 0 / 1.27 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.994e-06/1.198, allocations: 0 / 1.27 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001665/1.198, allocations: 0 / 1.27 GB, free: 3.078 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.01145/1.21, allocations: 4.064 MB / 1.274 GB, free: 14.95 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1.21, allocations: 8.031 kB / 1.274 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007503/1.21, allocations: 290.8 kB / 1.274 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008222/1.219, allocations: 1.581 MB / 1.275 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006884/1.225, allocations: 2.671 MB / 1.278 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/1.226, allocations: 185.6 kB / 1.278 GB, free: 10.13 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009333/1.227, allocations: 208 kB / 1.278 GB, free: 9.926 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009054/1.236, allocations: 3.315 MB / 1.282 GB, free: 6.555 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-05/1.236, allocations: 0 / 1.282 GB, free: 6.555 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005148/1.236, allocations: 84 kB / 1.282 GB, free: 6.473 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-05/1.236, allocations: 48 kB / 1.282 GB, free: 6.426 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00981/1.246, allocations: 3.948 MB / 1.286 GB, free: 2.473 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.02071/1.267, allocations: 10.02 MB / 1.295 GB, free: 8.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00736/1.274, allocations: 2.904 MB / 1.298 GB, free: 5.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003132/1.278, allocations: 1.381 MB / 1.3 GB, free: 3.891 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007344/1.278, allocations: 494.8 kB / 1.3 GB, free: 3.312 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003528/1.282, allocations: 1.614 MB / 1.302 GB, free: 1.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=166): time 4.859e-06/1.282, allocations: 0 / 1.302 GB, free: 1.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=166): time 0.01334/1.295, allocations: 4.695 MB / 1.306 GB, free: 12.89 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.295, allocations: 197.2 kB / 1.306 GB, free: 12.65 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005736/1.301, allocations: 3.119 MB / 1.31 GB, free: 9.512 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0005531/1.302, allocations: 61.7 kB / 1.31 GB, free: 9.445 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001252/1.303, allocations: 1.139 MB / 1.311 GB, free: 8.293 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009513/1.304, allocations: 0.5429 MB / 1.311 GB, free: 7.742 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/1.305, allocations: 411.2 kB / 1.312 GB, free: 7.336 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.305, allocations: 301.1 kB / 1.312 GB, free: 7.039 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003122/1.308, allocations: 1.35 MB / 1.313 GB, free: 5.688 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003372/1.312, allocations: 1.764 MB / 1.315 GB, free: 3.766 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006409/1.318, allocations: 2.952 MB / 1.318 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/1.318, allocations: 4 kB / 1.318 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.009147/1.327, allocations: 3.644 MB / 1.321 GB, free: 13 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/1.327, allocations: 12 kB / 1.321 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/1.327, allocations: 8 kB / 1.321 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001663/1.329, allocations: 375.1 kB / 1.322 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/1.332, allocations: 0.5343 MB / 1.322 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004927/1.337, allocations: 5.698 MB / 1.328 GB, free: 5.926 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/1.34, allocations: 493.6 kB / 1.328 GB, free: 5.441 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004162/1.341, allocations: 83.94 kB / 1.328 GB, free: 5.359 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.002206/1.343, allocations: 1.116 MB / 1.329 GB, free: 4.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009329/1.344, allocations: 244.9 kB / 1.33 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009487/1.353, allocations: 3.544 MB / 1.333 GB, free: 428 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.253e-05/1.353, allocations: 19.94 kB / 1.333 GB, free: 408 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.353, allocations: 0 / 1.333 GB, free: 408 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.421e-05/1.353, allocations: 7.969 kB / 1.333 GB, free: 400 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005911/1.359, allocations: 2.955 MB / 1.336 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.189e-05/1.359, allocations: 0 / 1.336 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/1.362, allocations: 435.3 kB / 1.337 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/1.363, allocations: 343.1 kB / 1.337 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003764/1.364, allocations: 59.94 kB / 1.337 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004915/1.369, allocations: 5.717 MB / 1.342 GB, free: 6.379 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.369, allocations: 8 kB / 1.342 GB, free: 6.371 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/1.38, allocations: 4.883 MB / 1.347 GB, free: 1.453 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002288/1.383, allocations: 0.7863 MB / 1.348 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008561/1.383, allocations: 47.98 kB / 1.348 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002694/1.386, allocations: 299.5 kB / 1.348 GB, free: 312 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003961/1.387, allocations: 129.8 kB / 1.348 GB, free: 184 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/1.387, allocations: 71.94 kB / 1.349 GB, free: 112 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00399/1.391, allocations: 2.224 MB / 1.351 GB, free: 13.88 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.2e-07/1.391, allocations: 0 / 1.351 GB, free: 13.88 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002702/1.394, allocations: 0.8341 MB / 1.352 GB, free: 13.04 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.01336/1.407, allocations: 6.043 MB / 1.357 GB, free: 7.137 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.008594/1.416, allocations: 3.365 MB / 1.361 GB, free: 3.734 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.416, allocations: 0 / 1.361 GB, free: 3.734 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004821/1.42, allocations: 1.819 MB / 1.363 GB, free: 1.875 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006098/1.427, allocations: 0.8174 MB / 1.363 GB, free: 1.086 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05309/1.48, allocations: 27.63 MB / 1.39 GB, free: 4.953 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002956/1.483, allocations: 2.349 MB / 1.393 GB, free: 2.57 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003414/1.486, allocations: 0.9124 MB / 1.393 GB, free: 1.652 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002749/1.489, allocations: 1.151 MB / 1.395 GB, free: 0.5 MB / 1.123 GB Notification: Performance of SimCode: time 1.824e-06/1.489, allocations: 0 / 1.395 GB, free: 0.5 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1232/1.612, allocations: 70.25 MB / 1.463 GB, free: 10.87 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.29/18.9, allocations: 15.72 kB / 1.463 GB, free: 10.85 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