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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: 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.001226/0.001226, allocations: 106.8 kB / 16.36 MB, free: 6.293 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.001243/0.001243, allocations: 193.5 kB / 17.29 MB, free: 5.859 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.721/2.721, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.001341, allocations: 69.34 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3598, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01475/0.3746, allocations: 9.862 MB / 1.036 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.8562/1.231, allocations: 154.7 MB / 1.187 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002448/1.233, allocations: 44.91 kB / 1.187 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004098/1.238, allocations: 1.139 MB / 1.189 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005716/1.243, allocations: 1.149 MB / 1.19 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004802/1.248, allocations: 1.709 MB / 1.191 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007448/1.256, allocations: 4.884 MB / 1.196 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002801/1.258, allocations: 1.787 MB / 1.198 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003884/1.262, allocations: 2.015 MB / 1.2 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003303/1.266, allocations: 1.724 MB / 1.202 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0009235/1.267, allocations: 373.2 kB / 1.202 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/1.269, allocations: 1.161 MB / 1.203 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001125/1.271, allocations: 0.9955 MB / 1.204 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003093/1.274, allocations: 1.779 MB / 1.206 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.007495/1.281, allocations: 5.509 MB / 1.211 GB, free: 372 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.281, allocations: 0 / 1.211 GB, free: 372 kB / 0.9044 GB Notification: Performance of FrontEnd: time 2.545e-06/1.281, allocations: 0 / 1.211 GB, free: 372 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001729/1.281, allocations: 4 kB / 1.211 GB, free: 368 kB / 0.9044 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.01078/1.292, allocations: 4.104 MB / 1.215 GB, free: 12.19 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.292, allocations: 12.03 kB / 1.215 GB, free: 12.18 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007885/1.3, allocations: 1.577 MB / 1.217 GB, free: 10.59 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006097/1.306, allocations: 2.671 MB / 1.219 GB, free: 7.852 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/1.307, allocations: 193.6 kB / 1.219 GB, free: 7.656 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004398/1.307, allocations: 207.9 kB / 1.22 GB, free: 7.453 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006863/1.314, allocations: 3.307 MB / 1.223 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/1.314, allocations: 7.938 kB / 1.223 GB, free: 4.082 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/1.314, allocations: 80 kB / 1.223 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/1.314, allocations: 48 kB / 1.223 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008352/1.323, allocations: 3.945 MB / 1.227 GB, free: 8 kB / 0.92 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.02103/1.344, allocations: 10.41 MB / 1.237 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007586/1.351, allocations: 2.888 MB / 1.24 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003288/1.355, allocations: 1.375 MB / 1.241 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008369/1.356, allocations: 0.4951 MB / 1.242 GB, free: 404 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003436/1.359, allocations: 1.61 MB / 1.243 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=166): time 3.897e-06/1.359, allocations: 4 kB / 1.243 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=166): time 0.01109/1.37, allocations: 4.695 MB / 1.248 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/1.37, allocations: 197.2 kB / 1.248 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005023/1.375, allocations: 3.115 MB / 1.251 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0004231/1.376, allocations: 65.69 kB / 1.251 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/1.377, allocations: 1.119 MB / 1.252 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000623/1.377, allocations: 0.543 MB / 1.253 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006769/1.378, allocations: 423.2 kB / 1.253 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/1.378, allocations: 313.1 kB / 1.253 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/1.381, allocations: 1.366 MB / 1.255 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003041/1.384, allocations: 1.768 MB / 1.257 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005606/1.39, allocations: 2.983 MB / 1.259 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/1.39, allocations: 15.94 kB / 1.259 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.007827/1.398, allocations: 3.695 MB / 1.263 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/1.398, allocations: 12 kB / 1.263 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/1.398, allocations: 8.938 kB / 1.263 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/1.399, allocations: 371.3 kB / 1.263 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/1.402, allocations: 0.5459 MB / 1.264 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00503/1.407, allocations: 5.697 MB / 1.27 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003491/1.41, allocations: 497.7 kB / 1.27 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/1.41, allocations: 91.94 kB / 1.27 GB, free: 2.312 MB / 0.9669 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.002185/1.413, allocations: 1.116 MB / 1.271 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007967/1.413, allocations: 252.8 kB / 1.271 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00814/1.422, allocations: 3.521 MB / 1.275 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/1.422, allocations: 16 kB / 1.275 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.422, allocations: 4 kB / 1.275 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.227e-05/1.422, allocations: 19.89 kB / 1.275 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005236/1.427, allocations: 2.94 MB / 1.278 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/1.427, allocations: 4 kB / 1.278 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002136/1.429, allocations: 423.3 kB / 1.278 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/1.43, allocations: 359 kB / 1.279 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/1.431, allocations: 55.94 kB / 1.279 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/1.436, allocations: 5.723 MB / 1.284 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.436, allocations: 0 / 1.284 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/1.446, allocations: 4.887 MB / 1.289 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002521/1.449, allocations: 0.7826 MB / 1.29 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005469/1.449, allocations: 51.98 kB / 1.29 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/1.452, allocations: 304.5 kB / 1.29 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/1.452, allocations: 129.8 kB / 1.29 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/1.452, allocations: 67.94 kB / 1.29 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003552/1.456, allocations: 2.224 MB / 1.292 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.456, allocations: 0 / 1.292 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002913/1.459, allocations: 0.8654 MB / 1.293 GB, free: 9.984 MB / 0.9981 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.001734/1.46, allocations: 0.6908 MB / 1.294 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007282/1.468, allocations: 3.395 MB / 1.297 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.468, allocations: 0 / 1.297 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003661/1.471, allocations: 1.824 MB / 1.299 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004186/1.476, allocations: 0.8353 MB / 1.3 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/1.488, allocations: 6.596 MB / 1.306 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/1.49, allocations: 2.349 MB / 1.309 GB, free: 10.36 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00327/1.494, allocations: 0.9282 MB / 1.309 GB, free: 9.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008508/1.494, allocations: 231.3 kB / 1.31 GB, free: 9.203 MB / 1.014 GB Notification: Performance of SimCode: time 1.243e-06/1.494, allocations: 0 / 1.31 GB, free: 9.203 MB / 1.014 GB Notification: Performance of Templates: time 0.09028/1.585, allocations: 48.24 MB / 1.357 GB, free: 9.352 MB / 1.061 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 -s cvode -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