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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conExt.1..opa.T.1.|conExt.1..opa.T.2.|conExt.1..opa.T.3.|conExt.1..opa.T.4.|conExt.1..opa.T.5.|bouConExt.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") translateModel(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conExt.1..opa.T.1.|conExt.1..opa.T.2.|conExt.1..opa.T.3.|conExt.1..opa.T.4.|conExt.1..opa.T.5.|bouConExt.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001228/0.001228, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.695/2.695, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 67.91 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9973/0.9988, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01235/1.011, allocations: 9.854 MB / 1.218 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1822/1.194, allocations: 154.7 MB / 1.369 GB, free: 8.414 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003022/1.197, allocations: 51.69 kB / 1.369 GB, free: 8.363 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00417/1.201, allocations: 1.146 MB / 1.37 GB, free: 7.211 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00516/1.206, allocations: 1.149 MB / 1.371 GB, free: 6.059 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005425/1.211, allocations: 1.694 MB / 1.373 GB, free: 4.371 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007766/1.219, allocations: 4.886 MB / 1.378 GB, free: 15.48 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003297/1.223, allocations: 1.798 MB / 1.38 GB, free: 13.63 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003703/1.226, allocations: 2.065 MB / 1.382 GB, free: 11.56 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003332/1.23, allocations: 1.724 MB / 1.383 GB, free: 9.832 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001262/1.231, allocations: 372 kB / 1.384 GB, free: 9.469 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/1.234, allocations: 1.163 MB / 1.385 GB, free: 8.305 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001749/1.236, allocations: 1.001 MB / 1.386 GB, free: 7.301 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003938/1.24, allocations: 1.773 MB / 1.387 GB, free: 5.52 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007897/1.248, allocations: 5.512 MB / 1.393 GB, free: 15.99 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.248, allocations: 0 / 1.393 GB, free: 15.99 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.976e-06/1.248, allocations: 0 / 1.393 GB, free: 15.99 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.901e-05/1.248, allocations: 0 / 1.393 GB, free: 15.99 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.008474/1.256, allocations: 4.111 MB / 1.397 GB, free: 11.81 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/1.256, allocations: 12.03 kB / 1.397 GB, free: 11.8 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007687/1.264, allocations: 1.569 MB / 1.398 GB, free: 10.23 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004884/1.269, allocations: 2.675 MB / 1.401 GB, free: 7.48 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/1.269, allocations: 185.6 kB / 1.401 GB, free: 7.293 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006135/1.27, allocations: 212 kB / 1.401 GB, free: 7.086 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008142/1.278, allocations: 3.299 MB / 1.405 GB, free: 3.73 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.452e-05/1.278, allocations: 7.938 kB / 1.405 GB, free: 3.723 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000372/1.278, allocations: 80 kB / 1.405 GB, free: 3.645 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/1.279, allocations: 52 kB / 1.405 GB, free: 3.594 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009382/1.288, allocations: 3.948 MB / 1.409 GB, free: 15.64 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.02181/1.31, allocations: 10.39 MB / 1.419 GB, free: 4.895 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007506/1.317, allocations: 2.909 MB / 1.422 GB, free: 1.984 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003209/1.321, allocations: 1.387 MB / 1.423 GB, free: 0.5938 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000772/1.321, allocations: 486.7 kB / 1.423 GB, free: 24 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003641/1.325, allocations: 1.625 MB / 1.425 GB, free: 14.38 MB / 1.154 GB Notification: Performance of pre-optimization done (n=166): time 6.442e-06/1.325, allocations: 0 / 1.425 GB, free: 14.38 MB / 1.154 GB Notification: Performance of matching and sorting (n=166): time 0.01231/1.337, allocations: 4.687 MB / 1.43 GB, free: 9.598 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/1.338, allocations: 201.2 kB / 1.43 GB, free: 9.355 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006775/1.344, allocations: 3.122 MB / 1.433 GB, free: 6.211 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003489/1.345, allocations: 65.7 kB / 1.433 GB, free: 6.141 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.00141/1.346, allocations: 1.127 MB / 1.434 GB, free: 5 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007867/1.347, allocations: 0.5391 MB / 1.435 GB, free: 4.453 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/1.348, allocations: 419.2 kB / 1.435 GB, free: 4.039 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.348, allocations: 313 kB / 1.435 GB, free: 3.73 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003202/1.351, allocations: 1.366 MB / 1.437 GB, free: 2.363 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003545/1.355, allocations: 1.772 MB / 1.438 GB, free: 456 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006743/1.362, allocations: 2.979 MB / 1.441 GB, free: 13.33 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.897e-05/1.362, allocations: 0 / 1.441 GB, free: 13.33 MB / 1.17 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009337/1.371, allocations: 3.695 MB / 1.445 GB, free: 9.609 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/1.371, allocations: 8 kB / 1.445 GB, free: 9.602 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/1.371, allocations: 12 kB / 1.445 GB, free: 9.59 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001868/1.373, allocations: 371.3 kB / 1.445 GB, free: 9.215 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/1.376, allocations: 0.5499 MB / 1.446 GB, free: 8.664 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006425/1.382, allocations: 5.704 MB / 1.451 GB, free: 2.512 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003764/1.386, allocations: 481.6 kB / 1.452 GB, free: 2.039 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004204/1.386, allocations: 95.94 kB / 1.452 GB, free: 1.945 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (223): * Single equations (assignments): 219 * 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.002645/1.389, allocations: 1.124 MB / 1.453 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/1.39, allocations: 240.9 kB / 1.453 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009565/1.4, allocations: 3.532 MB / 1.457 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/1.4, allocations: 23.94 kB / 1.457 GB, free: 13 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/1.4, allocations: 3.938 kB / 1.457 GB, free: 12.99 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/1.4, allocations: 7.969 kB / 1.457 GB, free: 12.98 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005576/1.405, allocations: 2.955 MB / 1.46 GB, free: 9.973 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.54e-05/1.405, allocations: 4 kB / 1.46 GB, free: 9.969 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002231/1.408, allocations: 427.3 kB / 1.46 GB, free: 9.551 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/1.409, allocations: 347.1 kB / 1.46 GB, free: 9.199 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002457/1.41, allocations: 63.94 kB / 1.46 GB, free: 9.137 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005783/1.415, allocations: 5.706 MB / 1.466 GB, free: 2.977 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.415, allocations: 7.875 kB / 1.466 GB, free: 2.969 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/1.428, allocations: 4.887 MB / 1.471 GB, free: 14.05 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00205/1.43, allocations: 0.7785 MB / 1.471 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009309/1.431, allocations: 51.89 kB / 1.471 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002816/1.433, allocations: 305.4 kB / 1.472 GB, free: 12.9 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003853/1.434, allocations: 129.8 kB / 1.472 GB, free: 12.77 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/1.434, allocations: 67.95 kB / 1.472 GB, free: 12.71 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.004895/1.439, allocations: 2.22 MB / 1.474 GB, free: 10.48 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.6e-07/1.439, allocations: 0 / 1.474 GB, free: 10.48 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003449/1.442, allocations: 0.8692 MB / 1.475 GB, free: 9.605 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.001974/1.444, allocations: 0.7012 MB / 1.476 GB, free: 9.082 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00819/1.453, allocations: 3.392 MB / 1.479 GB, free: 5.648 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.453, allocations: 0 / 1.479 GB, free: 5.648 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004429/1.457, allocations: 1.816 MB / 1.481 GB, free: 3.797 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005043/1.462, allocations: 0.8348 MB / 1.482 GB, free: 2.988 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/1.477, allocations: 6.449 MB / 1.488 GB, free: 12.51 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003/1.48, allocations: 2.238 MB / 1.49 GB, free: 10.24 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/1.482, allocations: 255.3 kB / 1.49 GB, free: 9.988 MB / 1.217 GB Notification: Performance of SimCode: time 1.142e-06/1.482, allocations: 0 / 1.49 GB, free: 9.988 MB / 1.217 GB Notification: Performance of Templates: time 0.8993/2.381, allocations: 113.4 MB / 1.601 GB, free: 322.4 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (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 & ./Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat","/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