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.001703/0.001703, allocations: 104.7 kB / 16.27 MB, free: 5.977 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.001785/0.001785, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.565/2.565, allocations: 469.4 MB / 0.7427 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001556, allocations: 65.97 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3542, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01297/0.3672, allocations: 9.851 MB / 1.074 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.8498/1.217, allocations: 154.7 MB / 1.225 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003145/1.22, allocations: 39.31 kB / 1.225 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004313/1.225, allocations: 1.14 MB / 1.226 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005075/1.23, allocations: 1.156 MB / 1.227 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005191/1.235, allocations: 1.696 MB / 1.229 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006888/1.242, allocations: 4.854 MB / 1.234 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002591/1.245, allocations: 1.799 MB / 1.235 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003518/1.248, allocations: 1.948 MB / 1.237 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003327/1.251, allocations: 1.782 MB / 1.239 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0008461/1.252, allocations: 380 kB / 1.239 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00275/1.255, allocations: 1.144 MB / 1.24 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001052/1.256, allocations: 0.9854 MB / 1.241 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002617/1.259, allocations: 1.792 MB / 1.243 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.007462/1.266, allocations: 5.45 MB / 1.248 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.266, allocations: 4 kB / 1.249 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.963e-06/1.266, allocations: 0 / 1.249 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001415/1.266, allocations: 0 / 1.249 GB, free: 12.12 MB / 0.9669 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.01074/1.277, allocations: 4.102 MB / 1.253 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/1.277, allocations: 12.62 kB / 1.253 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008352/1.286, allocations: 1.581 MB / 1.254 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005488/1.291, allocations: 2.597 MB / 1.257 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/1.291, allocations: 189.6 kB / 1.257 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000506/1.292, allocations: 212 kB / 1.257 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007362/1.299, allocations: 3.319 MB / 1.26 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/1.299, allocations: 0 / 1.26 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002401/1.3, allocations: 84 kB / 1.26 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/1.3, allocations: 52 kB / 1.26 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008728/1.308, allocations: 3.96 MB / 1.264 GB, free: 11.81 MB / 0.9825 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.02254/1.331, allocations: 10.53 MB / 1.275 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009027/1.34, allocations: 2.92 MB / 1.277 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003522/1.344, allocations: 1.387 MB / 1.279 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009013/1.345, allocations: 486.8 kB / 1.279 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004232/1.349, allocations: 1.625 MB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=166): time 5.34e-06/1.349, allocations: 0 / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166): time 0.01321/1.362, allocations: 4.746 MB / 1.285 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/1.362, allocations: 201.2 kB / 1.286 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006724/1.369, allocations: 3.158 MB / 1.289 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005994/1.37, allocations: 65.7 kB / 1.289 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001422/1.371, allocations: 1.131 MB / 1.29 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001101/1.372, allocations: 0.5507 MB / 1.29 GB, free: 388 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008484/1.373, allocations: 427.2 kB / 1.291 GB, free: 15.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.373, allocations: 305.1 kB / 1.291 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003392/1.377, allocations: 1.378 MB / 1.292 GB, free: 14.27 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003631/1.38, allocations: 1.772 MB / 1.294 GB, free: 12.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006333/1.387, allocations: 2.987 MB / 1.297 GB, free: 9.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/1.387, allocations: 4 kB / 1.297 GB, free: 9.227 MB / 1.014 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009426/1.396, allocations: 3.722 MB / 1.301 GB, free: 5.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/1.396, allocations: 12 kB / 1.301 GB, free: 5.469 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/1.396, allocations: 8.781 kB / 1.301 GB, free: 5.461 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/1.398, allocations: 403.1 kB / 1.301 GB, free: 5.059 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/1.401, allocations: 0.5421 MB / 1.302 GB, free: 4.516 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005603/1.407, allocations: 5.726 MB / 1.307 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003714/1.41, allocations: 489.6 kB / 1.308 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005354/1.411, allocations: 99.92 kB / 1.308 GB, free: 13.76 MB / 1.029 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.00258/1.413, allocations: 1.109 MB / 1.309 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001287/1.415, allocations: 252.8 kB / 1.309 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/1.425, allocations: 3.564 MB / 1.313 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/1.425, allocations: 16 kB / 1.313 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/1.425, allocations: 7.938 kB / 1.313 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.602e-05/1.425, allocations: 7.969 kB / 1.313 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005302/1.43, allocations: 2.967 MB / 1.316 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/1.43, allocations: 4 kB / 1.316 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002241/1.433, allocations: 431.3 kB / 1.316 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001781/1.434, allocations: 371 kB / 1.316 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002708/1.435, allocations: 67.86 kB / 1.316 GB, free: 4.895 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0051/1.44, allocations: 5.745 MB / 1.322 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.44, allocations: 0 / 1.322 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/1.451, allocations: 4.918 MB / 1.327 GB, free: 9.742 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/1.453, allocations: 0.7941 MB / 1.328 GB, free: 8.926 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008726/1.454, allocations: 47.98 kB / 1.328 GB, free: 8.879 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002721/1.457, allocations: 307.5 kB / 1.328 GB, free: 8.578 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003604/1.457, allocations: 137.8 kB / 1.328 GB, free: 8.445 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001963/1.458, allocations: 67.94 kB / 1.328 GB, free: 8.379 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.004163/1.462, allocations: 2.255 MB / 1.33 GB, free: 6.113 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.31e-07/1.462, allocations: 3.938 kB / 1.33 GB, free: 6.109 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002988/1.465, allocations: 0.8692 MB / 1.331 GB, free: 5.238 MB / 1.045 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.001801/1.467, allocations: 0.6959 MB / 1.332 GB, free: 4.723 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01139/1.478, allocations: 4.876 MB / 1.337 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/1.478, allocations: 0 / 1.337 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.004204/1.482, allocations: 1.827 MB / 1.338 GB, free: 13.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004612/1.487, allocations: 0.8405 MB / 1.339 GB, free: 13.12 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/1.5, allocations: 6.52 MB / 1.346 GB, free: 6.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002475/1.502, allocations: 2.234 MB / 1.348 GB, free: 4.301 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/1.504, allocations: 247.3 kB / 1.348 GB, free: 4.059 MB / 1.061 GB Notification: Performance of SimCode: time 8.81e-07/1.504, allocations: 0 / 1.348 GB, free: 4.059 MB / 1.061 GB Notification: Performance of Templates: time 0.1314/1.635, allocations: 113.1 MB / 1.458 GB, free: 2.965 MB / 1.17 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