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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.004894/0.004894, allocations: 98.81 kB / 15.73 MB, free: 6.441 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.001521/0.001521, allocations: 196.4 kB / 16.67 MB, free: 6.352 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 71.89 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2767, allocations: 162.2 MB / 1.241 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01197/0.2887, allocations: 9.875 MB / 1.251 GB, free: 272 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6825/0.9712, allocations: 154.7 MB / 1.402 GB, free: 10.56 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.9731, allocations: 44.91 kB / 1.402 GB, free: 10.55 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003445/0.9765, allocations: 1.143 MB / 1.403 GB, free: 9.75 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003685/0.9803, allocations: 1.146 MB / 1.404 GB, free: 8.828 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00428/0.9845, allocations: 1.703 MB / 1.406 GB, free: 7.535 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005412/0.99, allocations: 4.883 MB / 1.411 GB, free: 4.695 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/0.9921, allocations: 1.799 MB / 1.413 GB, free: 3.781 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002665/0.9948, allocations: 2.022 MB / 1.415 GB, free: 2.684 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.9969, allocations: 1.725 MB / 1.416 GB, free: 1.531 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004921/0.9974, allocations: 371.9 kB / 1.417 GB, free: 1.531 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.9995, allocations: 1.158 MB / 1.418 GB, free: 1.113 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0009591/1, allocations: 0.9993 MB / 1.419 GB, free: 356 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001741/1.002, allocations: 1.783 MB / 1.42 GB, free: 15.05 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005502/1.008, allocations: 5.533 MB / 1.426 GB, free: 10.72 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/1.008, allocations: 0 / 1.426 GB, free: 10.72 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.193e-06/1.008, allocations: 4 kB / 1.426 GB, free: 10.72 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.302e-05/1.008, allocations: 0 / 1.426 GB, free: 10.72 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.008014/1.016, allocations: 4.205 MB / 1.43 GB, free: 6.445 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/1.016, allocations: 8.031 kB / 1.43 GB, free: 6.438 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003823/1.016, allocations: 290.9 kB / 1.43 GB, free: 6.145 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00789/1.024, allocations: 1.598 MB / 1.432 GB, free: 4.543 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004283/1.028, allocations: 2.689 MB / 1.434 GB, free: 1.785 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/1.029, allocations: 189.6 kB / 1.435 GB, free: 1.594 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003608/1.029, allocations: 208 kB / 1.435 GB, free: 1.391 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006712/1.036, allocations: 3.311 MB / 1.438 GB, free: 14.02 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.231e-05/1.036, allocations: 4 kB / 1.438 GB, free: 14.02 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/1.036, allocations: 80 kB / 1.438 GB, free: 13.94 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-05/1.036, allocations: 48 kB / 1.438 GB, free: 13.89 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009066/1.045, allocations: 3.948 MB / 1.442 GB, free: 9.941 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.01738/1.063, allocations: 10.59 MB / 1.452 GB, free: 14.95 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007334/1.07, allocations: 2.904 MB / 1.455 GB, free: 12.04 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003168/1.073, allocations: 1.379 MB / 1.457 GB, free: 10.66 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007622/1.074, allocations: 494.9 kB / 1.457 GB, free: 10.09 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003474/1.077, allocations: 1.625 MB / 1.459 GB, free: 8.449 MB / 1.154 GB Notification: Performance of pre-optimization done (n=166): time 5.45e-06/1.077, allocations: 4 kB / 1.459 GB, free: 8.445 MB / 1.154 GB Notification: Performance of matching and sorting (n=166): time 0.01179/1.089, allocations: 4.704 MB / 1.463 GB, free: 3.648 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/1.089, allocations: 201.2 kB / 1.463 GB, free: 3.406 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004334/1.094, allocations: 3.111 MB / 1.466 GB, free: 280 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001644/1.094, allocations: 65.7 kB / 1.467 GB, free: 208 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/1.095, allocations: 1.152 MB / 1.468 GB, free: 15.04 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005885/1.096, allocations: 0.5694 MB / 1.468 GB, free: 14.46 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007399/1.096, allocations: 403.3 kB / 1.469 GB, free: 14.06 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.096, allocations: 309.1 kB / 1.469 GB, free: 13.76 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003152/1.1, allocations: 1.347 MB / 1.47 GB, free: 12.41 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003536/1.103, allocations: 1.76 MB / 1.472 GB, free: 10.5 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006415/1.11, allocations: 2.963 MB / 1.475 GB, free: 7.395 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/1.11, allocations: 4 kB / 1.475 GB, free: 7.391 MB / 1.17 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.008456/1.118, allocations: 3.653 MB / 1.478 GB, free: 3.715 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/1.118, allocations: 12 kB / 1.478 GB, free: 3.703 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/1.118, allocations: 8 kB / 1.478 GB, free: 3.695 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/1.12, allocations: 377 kB / 1.479 GB, free: 3.316 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/1.122, allocations: 0.5382 MB / 1.479 GB, free: 2.777 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005754/1.128, allocations: 5.711 MB / 1.485 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/1.131, allocations: 490.2 kB / 1.485 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/1.131, allocations: 87.94 kB / 1.485 GB, free: 12.05 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.001685/1.133, allocations: 1.12 MB / 1.487 GB, free: 10.92 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004818/1.133, allocations: 258.3 kB / 1.487 GB, free: 10.67 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008714/1.142, allocations: 3.532 MB / 1.49 GB, free: 7.109 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/1.142, allocations: 19.94 kB / 1.49 GB, free: 7.09 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.142, allocations: 4 kB / 1.49 GB, free: 7.086 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/1.142, allocations: 11.97 kB / 1.49 GB, free: 7.074 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/1.146, allocations: 2.944 MB / 1.493 GB, free: 4.074 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.146, allocations: 0 / 1.493 GB, free: 4.074 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002247/1.148, allocations: 431.3 kB / 1.494 GB, free: 3.652 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001456/1.15, allocations: 347.9 kB / 1.494 GB, free: 3.301 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/1.15, allocations: 63.94 kB / 1.494 GB, free: 3.238 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005572/1.155, allocations: 5.714 MB / 1.5 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.155, allocations: 3.938 kB / 1.5 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/1.166, allocations: 4.896 MB / 1.504 GB, free: 8.145 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/1.168, allocations: 0.8033 MB / 1.505 GB, free: 7.32 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003849/1.168, allocations: 43.98 kB / 1.505 GB, free: 7.277 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/1.17, allocations: 303.5 kB / 1.505 GB, free: 6.98 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/1.171, allocations: 133.8 kB / 1.506 GB, free: 6.848 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/1.171, allocations: 63.95 kB / 1.506 GB, free: 6.785 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003309/1.174, allocations: 2.228 MB / 1.508 GB, free: 4.547 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.4e-07/1.174, allocations: 3.938 kB / 1.508 GB, free: 4.543 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002073/1.176, allocations: 0.8616 MB / 1.509 GB, free: 3.68 MB / 1.201 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.01352/1.19, allocations: 6.058 MB / 1.515 GB, free: 13.77 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00744/1.197, allocations: 3.36 MB / 1.518 GB, free: 10.36 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.197, allocations: 0 / 1.518 GB, free: 10.36 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003881/1.201, allocations: 1.828 MB / 1.52 GB, free: 8.5 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/1.204, allocations: 0.8551 MB / 1.52 GB, free: 7.672 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04847/1.253, allocations: 27.52 MB / 1.547 GB, free: 11.63 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002455/1.255, allocations: 2.349 MB / 1.55 GB, free: 9.246 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002743/1.258, allocations: 0.936 MB / 1.551 GB, free: 8.305 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001984/1.26, allocations: 1.159 MB / 1.552 GB, free: 7.145 MB / 1.248 GB Notification: Performance of SimCode: time 4.71e-07/1.26, allocations: 0 / 1.552 GB, free: 7.145 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.126/1.386, allocations: 70.86 MB / 1.621 GB, free: 0.8594 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.99/17.37, allocations: 7.312 kB / 1.621 GB, free: 0.8555 MB / 1.311 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 400 --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