Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_11_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.005083/0.005083, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001318/0.001318, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.82/2.82, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 64.12 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9086/0.9106, allocations: 159.1 MB / 1.22 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01298/0.9237, allocations: 9.842 MB / 1.23 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.2056/1.129, allocations: 154.7 MB / 1.381 GB, free: 12.95 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00303/1.132, allocations: 47.75 kB / 1.381 GB, free: 12.9 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004258/1.137, allocations: 1.154 MB / 1.382 GB, free: 11.74 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004751/1.142, allocations: 1.147 MB / 1.383 GB, free: 10.59 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00491/1.146, allocations: 1.712 MB / 1.385 GB, free: 8.883 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007526/1.154, allocations: 4.869 MB / 1.39 GB, free: 4 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002862/1.157, allocations: 1.798 MB / 1.391 GB, free: 2.152 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00375/1.161, allocations: 2.018 MB / 1.393 GB, free: 132 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003609/1.164, allocations: 1.72 MB / 1.395 GB, free: 14.4 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001405/1.166, allocations: 372 kB / 1.395 GB, free: 14.04 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003577/1.169, allocations: 1.171 MB / 1.396 GB, free: 12.87 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.002325/1.172, allocations: 0.9894 MB / 1.397 GB, free: 11.88 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.004396/1.176, allocations: 1.789 MB / 1.399 GB, free: 10.08 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01039/1.187, allocations: 5.532 MB / 1.405 GB, free: 4.527 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.187, allocations: 0 / 1.405 GB, free: 4.527 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.044e-06/1.187, allocations: 0 / 1.405 GB, free: 4.527 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002101/1.187, allocations: 0 / 1.405 GB, free: 4.527 MB / 1.123 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.01278/1.2, allocations: 4.209 MB / 1.409 GB, free: 256 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/1.2, allocations: 8.031 kB / 1.409 GB, free: 248 kB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007396/1.2, allocations: 290.9 kB / 1.409 GB, free: 15.95 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008611/1.209, allocations: 1.598 MB / 1.411 GB, free: 14.34 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00647/1.216, allocations: 2.689 MB / 1.413 GB, free: 11.59 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002318/1.216, allocations: 189.6 kB / 1.413 GB, free: 11.4 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006185/1.216, allocations: 211.9 kB / 1.414 GB, free: 11.19 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007968/1.224, allocations: 3.307 MB / 1.417 GB, free: 7.828 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/1.224, allocations: 3.984 kB / 1.417 GB, free: 7.824 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002642/1.225, allocations: 88 kB / 1.417 GB, free: 7.738 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.828e-05/1.225, allocations: 48 kB / 1.417 GB, free: 7.691 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00976/1.235, allocations: 3.948 MB / 1.421 GB, free: 3.738 MB / 1.139 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.02306/1.258, allocations: 10.4 MB / 1.431 GB, free: 8.98 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008104/1.266, allocations: 2.911 MB / 1.434 GB, free: 6.062 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003537/1.269, allocations: 1.387 MB / 1.435 GB, free: 4.676 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008596/1.27, allocations: 490.8 kB / 1.436 GB, free: 4.102 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003927/1.274, allocations: 1.617 MB / 1.437 GB, free: 2.465 MB / 1.154 GB Notification: Performance of pre-optimization done (n=166): time 3.908e-06/1.274, allocations: 0 / 1.437 GB, free: 2.465 MB / 1.154 GB Notification: Performance of matching and sorting (n=166): time 0.01292/1.287, allocations: 4.704 MB / 1.442 GB, free: 13.67 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/1.287, allocations: 197.2 kB / 1.442 GB, free: 13.43 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00651/1.294, allocations: 3.111 MB / 1.445 GB, free: 10.3 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0006797/1.295, allocations: 69.69 kB / 1.445 GB, free: 10.22 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00156/1.296, allocations: 1.156 MB / 1.446 GB, free: 9.055 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001224/1.297, allocations: 0.5655 MB / 1.447 GB, free: 8.484 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001732/1.299, allocations: 407.3 kB / 1.447 GB, free: 8.078 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.299, allocations: 305.1 kB / 1.447 GB, free: 7.777 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003734/1.303, allocations: 1.347 MB / 1.449 GB, free: 6.43 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004157/1.307, allocations: 1.768 MB / 1.45 GB, free: 4.508 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007475/1.315, allocations: 2.948 MB / 1.453 GB, free: 1.422 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.751e-05/1.315, allocations: 4 kB / 1.453 GB, free: 1.418 MB / 1.17 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.01101/1.326, allocations: 3.661 MB / 1.457 GB, free: 13.73 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/1.326, allocations: 18.25 kB / 1.457 GB, free: 13.72 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/1.326, allocations: 8 kB / 1.457 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/1.328, allocations: 367.1 kB / 1.457 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003092/1.331, allocations: 0.5382 MB / 1.458 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006741/1.338, allocations: 5.714 MB / 1.463 GB, free: 6.641 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003955/1.342, allocations: 482.3 kB / 1.464 GB, free: 6.168 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000598/1.342, allocations: 91.94 kB / 1.464 GB, free: 6.078 MB / 1.186 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.002928/1.345, allocations: 1.116 MB / 1.465 GB, free: 4.953 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/1.347, allocations: 262.3 kB / 1.465 GB, free: 4.695 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/1.358, allocations: 3.532 MB / 1.469 GB, free: 1.137 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/1.358, allocations: 19.94 kB / 1.469 GB, free: 1.117 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/1.358, allocations: 0 / 1.469 GB, free: 1.117 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.68e-05/1.358, allocations: 7.969 kB / 1.469 GB, free: 1.109 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006282/1.364, allocations: 2.964 MB / 1.472 GB, free: 14.09 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.451e-05/1.364, allocations: 0 / 1.472 GB, free: 14.09 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002545/1.367, allocations: 431.3 kB / 1.472 GB, free: 13.66 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/1.368, allocations: 343 kB / 1.472 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003837/1.369, allocations: 59.94 kB / 1.472 GB, free: 13.26 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00639/1.375, allocations: 5.726 MB / 1.478 GB, free: 7.082 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.375, allocations: 4.062 kB / 1.478 GB, free: 7.078 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/1.389, allocations: 4.896 MB / 1.483 GB, free: 2.152 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002292/1.391, allocations: 0.7994 MB / 1.484 GB, free: 1.332 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/1.392, allocations: 55.92 kB / 1.484 GB, free: 1.277 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003042/1.395, allocations: 299.5 kB / 1.484 GB, free: 0.9844 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00049/1.396, allocations: 129.8 kB / 1.484 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000302/1.396, allocations: 71.94 kB / 1.484 GB, free: 0.7852 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.005422/1.402, allocations: 2.224 MB / 1.486 GB, free: 14.55 MB / 1.217 GB Notification: Performance of sort global known variables: time 6.61e-07/1.402, allocations: 0 / 1.486 GB, free: 14.55 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004229/1.406, allocations: 0.8694 MB / 1.487 GB, free: 13.68 MB / 1.217 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.01648/1.422, allocations: 6.05 MB / 1.493 GB, free: 7.777 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.008913/1.431, allocations: 3.365 MB / 1.496 GB, free: 4.371 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/1.431, allocations: 0.6875 kB / 1.496 GB, free: 4.371 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004631/1.436, allocations: 1.83 MB / 1.498 GB, free: 2.504 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005003/1.441, allocations: 0.8491 MB / 1.499 GB, free: 1.68 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06624/1.507, allocations: 27.52 MB / 1.526 GB, free: 5.633 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003272/1.511, allocations: 2.342 MB / 1.528 GB, free: 3.258 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.003819/1.514, allocations: 0.9477 MB / 1.529 GB, free: 2.305 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00259/1.517, allocations: 1.147 MB / 1.53 GB, free: 1.156 MB / 1.248 GB Notification: Performance of SimCode: time 7.51e-07/1.517, allocations: 0 / 1.53 GB, free: 1.156 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7705/2.288, allocations: 70.85 MB / 1.599 GB, free: 311.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.84/20.13, allocations: 3.375 kB / 1.599 GB, free: 311.9 MB / 1.279 GB (rm -f Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.fmu > Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches