Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_latest_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.005306/0.005306, allocations: 101.2 kB / 15.73 MB, free: 5.996 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.001227/0.001227, allocations: 185.6 kB / 16.67 MB, free: 5.93 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.95/2.95, allocations: 469.4 MB / 0.7422 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 75.86 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3339, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01185/0.3458, allocations: 9.85 MB / 1.229 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9206/1.266, allocations: 154.7 MB / 1.38 GB, free: 4.352 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/1.269, allocations: 48.97 kB / 1.38 GB, free: 4.336 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003889/1.273, allocations: 1.149 MB / 1.382 GB, free: 3.777 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004096/1.277, allocations: 1.156 MB / 1.383 GB, free: 3.082 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005136/1.282, allocations: 1.717 MB / 1.384 GB, free: 1.875 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006895/1.289, allocations: 4.876 MB / 1.389 GB, free: 15.05 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003176/1.292, allocations: 1.807 MB / 1.391 GB, free: 14.13 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003719/1.296, allocations: 2.059 MB / 1.393 GB, free: 13.02 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003375/1.299, allocations: 1.734 MB / 1.395 GB, free: 11.86 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001197/1.301, allocations: 371.8 kB / 1.395 GB, free: 11.86 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/1.304, allocations: 1.158 MB / 1.396 GB, free: 11.44 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001776/1.305, allocations: 0.992 MB / 1.397 GB, free: 10.68 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00423/1.31, allocations: 1.784 MB / 1.399 GB, free: 9.391 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008362/1.318, allocations: 5.532 MB / 1.404 GB, free: 5.555 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/1.318, allocations: 0 / 1.404 GB, free: 5.555 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.643e-06/1.318, allocations: 0 / 1.404 GB, free: 5.555 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000105/1.318, allocations: 0 / 1.404 GB, free: 5.555 MB / 1.092 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.008705/1.327, allocations: 4.207 MB / 1.408 GB, free: 2.672 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/1.327, allocations: 13.73 kB / 1.408 GB, free: 2.668 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000394/1.327, allocations: 295 kB / 1.409 GB, free: 2.445 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007677/1.335, allocations: 1.591 MB / 1.41 GB, free: 1.676 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005136/1.34, allocations: 2.695 MB / 1.413 GB, free: 15.82 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/1.34, allocations: 185.6 kB / 1.413 GB, free: 15.63 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003731/1.341, allocations: 211.8 kB / 1.413 GB, free: 15.43 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006753/1.348, allocations: 3.319 MB / 1.416 GB, free: 12.05 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/1.348, allocations: 0 / 1.416 GB, free: 12.05 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000291/1.348, allocations: 80 kB / 1.417 GB, free: 11.98 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.348e-05/1.348, allocations: 48 kB / 1.417 GB, free: 11.93 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00889/1.357, allocations: 3.952 MB / 1.42 GB, free: 7.973 MB / 1.107 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.0215/1.378, allocations: 10.41 MB / 1.431 GB, free: 13.21 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00775/1.386, allocations: 2.9 MB / 1.433 GB, free: 10.3 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003331/1.39, allocations: 1.384 MB / 1.435 GB, free: 8.922 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008478/1.39, allocations: 498.8 kB / 1.435 GB, free: 8.34 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003832/1.394, allocations: 1.619 MB / 1.437 GB, free: 6.703 MB / 1.123 GB Notification: Performance of pre-optimization done (n=166): time 5.03e-06/1.394, allocations: 0 / 1.437 GB, free: 6.703 MB / 1.123 GB Notification: Performance of matching and sorting (n=166): time 0.01296/1.407, allocations: 4.7 MB / 1.441 GB, free: 1.91 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/1.408, allocations: 209.2 kB / 1.442 GB, free: 1.66 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006919/1.414, allocations: 3.107 MB / 1.445 GB, free: 14.53 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0005617/1.415, allocations: 65.7 kB / 1.445 GB, free: 14.46 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001565/1.417, allocations: 1.148 MB / 1.446 GB, free: 13.3 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.00103/1.418, allocations: 0.5733 MB / 1.446 GB, free: 12.72 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/1.419, allocations: 403.3 kB / 1.447 GB, free: 12.32 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.419, allocations: 305.1 kB / 1.447 GB, free: 12.02 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003388/1.423, allocations: 1.35 MB / 1.448 GB, free: 10.67 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003699/1.426, allocations: 1.76 MB / 1.45 GB, free: 8.754 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006811/1.433, allocations: 2.959 MB / 1.453 GB, free: 5.656 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.806e-05/1.433, allocations: 8 kB / 1.453 GB, free: 5.648 MB / 1.139 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.009819/1.443, allocations: 3.661 MB / 1.457 GB, free: 1.965 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/1.443, allocations: 8 kB / 1.457 GB, free: 1.957 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/1.443, allocations: 12 kB / 1.457 GB, free: 1.945 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001835/1.445, allocations: 363.3 kB / 1.457 GB, free: 1.578 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/1.448, allocations: 0.5382 MB / 1.457 GB, free: 1.039 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005884/1.454, allocations: 5.716 MB / 1.463 GB, free: 10.88 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003941/1.458, allocations: 490.8 kB / 1.464 GB, free: 10.4 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006159/1.458, allocations: 87.95 kB / 1.464 GB, free: 10.31 MB / 1.154 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.003543/1.462, allocations: 1.121 MB / 1.465 GB, free: 9.188 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/1.463, allocations: 254.3 kB / 1.465 GB, free: 8.938 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/1.474, allocations: 3.548 MB / 1.468 GB, free: 5.367 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/1.474, allocations: 20 kB / 1.468 GB, free: 5.348 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/1.474, allocations: 3.938 kB / 1.468 GB, free: 5.344 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.498e-05/1.474, allocations: 11.97 kB / 1.468 GB, free: 5.332 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006027/1.48, allocations: 2.958 MB / 1.471 GB, free: 2.324 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-05/1.48, allocations: 0 / 1.471 GB, free: 2.324 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/1.482, allocations: 427.3 kB / 1.472 GB, free: 1.906 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001696/1.484, allocations: 355.1 kB / 1.472 GB, free: 1.547 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003119/1.484, allocations: 59.88 kB / 1.472 GB, free: 1.488 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005692/1.49, allocations: 5.718 MB / 1.478 GB, free: 11.31 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.49, allocations: 0 / 1.478 GB, free: 11.31 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/1.503, allocations: 4.896 MB / 1.483 GB, free: 6.387 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002592/1.506, allocations: 0.8108 MB / 1.483 GB, free: 5.559 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001199/1.507, allocations: 43.98 kB / 1.483 GB, free: 5.516 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003113/1.51, allocations: 299.5 kB / 1.484 GB, free: 5.223 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004221/1.511, allocations: 133.8 kB / 1.484 GB, free: 5.09 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002565/1.511, allocations: 67.95 kB / 1.484 GB, free: 5.023 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.005321/1.516, allocations: 2.224 MB / 1.486 GB, free: 2.789 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.01e-07/1.516, allocations: 0 / 1.486 GB, free: 2.789 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003721/1.52, allocations: 0.8616 MB / 1.487 GB, free: 1.926 MB / 1.17 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.01373/1.534, allocations: 6.064 MB / 1.493 GB, free: 12.01 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007764/1.541, allocations: 3.357 MB / 1.496 GB, free: 8.609 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.542, allocations: 4 kB / 1.496 GB, free: 8.605 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.004027/1.546, allocations: 1.831 MB / 1.498 GB, free: 6.742 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005175/1.551, allocations: 0.8529 MB / 1.499 GB, free: 5.914 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06083/1.612, allocations: 27.51 MB / 1.526 GB, free: 9.887 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003357/1.615, allocations: 2.353 MB / 1.528 GB, free: 7.496 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.003757/1.619, allocations: 0.9361 MB / 1.529 GB, free: 6.555 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002676/1.622, allocations: 1.155 MB / 1.53 GB, free: 5.398 MB / 1.217 GB Notification: Performance of SimCode: time 1.042e-06/1.622, allocations: 0 / 1.53 GB, free: 5.398 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1297/1.751, allocations: 70.87 MB / 1.599 GB, free: 15.09 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.15/18.9, allocations: 21 kB / 1.599 GB, free: 15.07 MB / 1.295 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches