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: 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_9_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_9_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.001027/0.001027, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008169/0.008169, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.458/2.458, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003901, allocations: 8 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.717/0.7174, allocations: 142.4 MB / 0.955 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.009613/0.7271, allocations: 7.823 MB / 0.9627 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1746/0.9017, allocations: 150.6 MB / 1.11 GB, free: 312 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002579/0.9043, allocations: 39.75 kB / 1.11 GB, free: 272 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003049/0.9074, allocations: 0.976 MB / 1.111 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.9108, allocations: 0.9151 MB / 1.112 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003579/0.9144, allocations: 1.459 MB / 1.113 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00563/0.92, allocations: 4.709 MB / 1.118 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.9224, allocations: 1.765 MB / 1.119 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002653/0.9251, allocations: 1.526 MB / 1.121 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.9268, allocations: 1.345 MB / 1.122 GB, free: 3.508 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002755/0.9271, allocations: 100 kB / 1.122 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.9289, allocations: 0.8663 MB / 1.123 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005794/0.9295, allocations: 0.634 MB / 1.124 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.9309, allocations: 1.369 MB / 1.125 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005025/0.9359, allocations: 5.046 MB / 1.13 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9359, allocations: 0 / 1.13 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9359, allocations: 0 / 1.13 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.911e-05/0.936, allocations: 4 kB / 1.13 GB, free: 11.46 MB / 0.8887 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.007631/0.9437, allocations: 3.488 MB / 1.133 GB, free: 7.898 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.9437, allocations: 8.031 kB / 1.133 GB, free: 7.891 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008797/0.9525, allocations: 1.651 MB / 1.135 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005688/0.9583, allocations: 2.585 MB / 1.138 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002566/0.9586, allocations: 193.6 kB / 1.138 GB, free: 3.383 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004658/0.959, allocations: 204 kB / 1.138 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00795/0.967, allocations: 3.35 MB / 1.141 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.024e-05/0.9671, allocations: 4 kB / 1.141 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002811/0.9674, allocations: 80 kB / 1.141 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/0.9674, allocations: 48 kB / 1.141 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009181/0.9766, allocations: 4.019 MB / 1.145 GB, free: 11.62 MB / 0.9044 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.01852/0.9952, allocations: 10.2 MB / 1.155 GB, free: 1.156 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007046/1.002, allocations: 2.927 MB / 1.158 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002963/1.005, allocations: 1.391 MB / 1.159 GB, free: 12.83 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007018/1.006, allocations: 495.1 kB / 1.16 GB, free: 12.26 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00329/1.009, allocations: 1.625 MB / 1.162 GB, free: 10.61 MB / 0.92 GB Notification: Performance of pre-optimization done (n=166): time 3.256e-06/1.009, allocations: 4 kB / 1.162 GB, free: 10.61 MB / 0.92 GB Notification: Performance of matching and sorting (n=166): time 0.01237/1.022, allocations: 4.773 MB / 1.166 GB, free: 5.738 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/1.022, allocations: 201.2 kB / 1.166 GB, free: 5.5 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005827/1.028, allocations: 3.173 MB / 1.169 GB, free: 2.305 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0006949/1.028, allocations: 65.7 kB / 1.17 GB, free: 2.234 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001296/1.03, allocations: 1.119 MB / 1.171 GB, free: 1.102 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007761/1.03, allocations: 0.5469 MB / 1.171 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/1.031, allocations: 177.6 kB / 1.171 GB, free: 376 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.031, allocations: 305.1 kB / 1.172 GB, free: 68 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003365/1.034, allocations: 1.382 MB / 1.173 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003615/1.038, allocations: 1.784 MB / 1.175 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006396/1.044, allocations: 2.994 MB / 1.178 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/1.044, allocations: 7.938 kB / 1.178 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008842/1.053, allocations: 3.738 MB / 1.181 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/1.053, allocations: 8 kB / 1.181 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/1.053, allocations: 8 kB / 1.181 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/1.055, allocations: 403.2 kB / 1.182 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/1.058, allocations: 0.546 MB / 1.182 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004905/1.063, allocations: 5.382 MB / 1.187 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003401/1.066, allocations: 0.4977 MB / 1.188 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002692/1.067, allocations: 99.86 kB / 1.188 GB, free: 14.47 MB / 0.9512 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.001844/1.068, allocations: 1.116 MB / 1.189 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005341/1.069, allocations: 244.9 kB / 1.189 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008347/1.077, allocations: 3.587 MB / 1.193 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/1.077, allocations: 19.94 kB / 1.193 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.077, allocations: 0 / 1.193 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/1.077, allocations: 11.97 kB / 1.193 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/1.081, allocations: 2.955 MB / 1.196 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/1.082, allocations: 3.984 kB / 1.196 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002268/1.084, allocations: 431.3 kB / 1.196 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/1.086, allocations: 395 kB / 1.197 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002543/1.086, allocations: 59.94 kB / 1.197 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005357/1.091, allocations: 5.394 MB / 1.202 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.091, allocations: 0 / 1.202 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/1.103, allocations: 4.945 MB / 1.207 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/1.106, allocations: 0.8212 MB / 1.208 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004739/1.106, allocations: 51.97 kB / 1.208 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002424/1.108, allocations: 328.1 kB / 1.208 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003308/1.109, allocations: 141.7 kB / 1.208 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/1.109, allocations: 71.94 kB / 1.208 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003418/1.112, allocations: 2.255 MB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.71e-07/1.112, allocations: 0 / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00264/1.115, allocations: 0.838 MB / 1.211 GB, free: 6.238 MB / 0.9669 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.001588/1.117, allocations: 0.6961 MB / 1.212 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007626/1.124, allocations: 3.411 MB / 1.215 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.124, allocations: 4.75 kB / 1.215 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003819/1.128, allocations: 1.842 MB / 1.217 GB, free: 388 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/1.132, allocations: 0.7552 MB / 1.218 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/1.147, allocations: 7.981 MB / 1.225 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003222/1.15, allocations: 2.343 MB / 1.228 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004582/1.155, allocations: 0.9045 MB / 1.229 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/1.156, allocations: 215.3 kB / 1.229 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of SimCode: time 1.683e-06/1.156, allocations: 0 / 1.229 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of Templates: time 0.5954/1.751, allocations: 45.36 MB / 1.273 GB, free: 266.2 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (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 & ./Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins/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