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.001553/0.001553, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001718/0.001718, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.494/2.494, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 58.56 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2939, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01139/0.3053, allocations: 9.86 MB / 1.036 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.7533/1.059, allocations: 154.7 MB / 1.187 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003792/1.062, allocations: 44.12 kB / 1.187 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005266/1.068, allocations: 1.131 MB / 1.189 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005941/1.074, allocations: 1.152 MB / 1.19 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006561/1.08, allocations: 1.711 MB / 1.191 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009792/1.09, allocations: 4.865 MB / 1.196 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004282/1.095, allocations: 1.804 MB / 1.198 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004785/1.099, allocations: 2.015 MB / 1.2 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004227/1.104, allocations: 1.72 MB / 1.202 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001241/1.105, allocations: 372.1 kB / 1.202 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003895/1.109, allocations: 1.163 MB / 1.203 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001636/1.11, allocations: 0.998 MB / 1.204 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003151/1.114, allocations: 1.775 MB / 1.206 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.008568/1.122, allocations: 5.513 MB / 1.211 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.122, allocations: 0 / 1.211 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.844e-06/1.122, allocations: 4 kB / 1.211 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.000124/1.122, allocations: 0 / 1.211 GB, free: 0.5273 MB / 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.009727/1.132, allocations: 4.104 MB / 1.215 GB, free: 12.36 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.132, allocations: 15.59 kB / 1.215 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008412/1.141, allocations: 1.577 MB / 1.217 GB, free: 10.76 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006524/1.147, allocations: 2.667 MB / 1.219 GB, free: 8.023 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/1.147, allocations: 185.6 kB / 1.219 GB, free: 7.836 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006308/1.148, allocations: 215.9 kB / 1.22 GB, free: 7.625 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006716/1.155, allocations: 3.311 MB / 1.223 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/1.155, allocations: 0 / 1.223 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/1.155, allocations: 80 kB / 1.223 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/1.155, allocations: 51.98 kB / 1.223 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008059/1.163, allocations: 3.948 MB / 1.227 GB, free: 180 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.01836/1.182, allocations: 10.4 MB / 1.237 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006546/1.188, allocations: 2.892 MB / 1.24 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002812/1.191, allocations: 1.371 MB / 1.241 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006889/1.192, allocations: 498.9 kB / 1.242 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003208/1.195, allocations: 1.615 MB / 1.243 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=166): time 4.438e-06/1.195, allocations: 0 / 1.243 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of matching and sorting (n=166): time 0.01109/1.206, allocations: 4.691 MB / 1.248 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/1.206, allocations: 209.2 kB / 1.248 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004618/1.211, allocations: 3.111 MB / 1.251 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0003372/1.211, allocations: 65.64 kB / 1.251 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/1.212, allocations: 1.123 MB / 1.252 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005985/1.213, allocations: 0.5391 MB / 1.253 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007076/1.213, allocations: 427.2 kB / 1.253 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.512e-05/1.214, allocations: 309.1 kB / 1.253 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002874/1.216, allocations: 1.362 MB / 1.255 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003178/1.22, allocations: 1.772 MB / 1.257 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005643/1.225, allocations: 2.983 MB / 1.259 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/1.225, allocations: 4 kB / 1.259 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008062/1.233, allocations: 3.71 MB / 1.263 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/1.233, allocations: 8 kB / 1.263 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/1.233, allocations: 12 kB / 1.263 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/1.235, allocations: 367.3 kB / 1.263 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/1.238, allocations: 0.5498 MB / 1.264 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005608/1.243, allocations: 5.696 MB / 1.27 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00393/1.247, allocations: 481.8 kB / 1.27 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002893/1.248, allocations: 95.94 kB / 1.27 GB, free: 2.488 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.002269/1.25, allocations: 1.124 MB / 1.271 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006557/1.251, allocations: 248.8 kB / 1.271 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007742/1.258, allocations: 3.524 MB / 1.275 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/1.258, allocations: 20 kB / 1.275 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.258, allocations: 4 kB / 1.275 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/1.258, allocations: 11.91 kB / 1.275 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004048/1.262, allocations: 2.951 MB / 1.278 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/1.262, allocations: 0 / 1.278 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/1.265, allocations: 423.3 kB / 1.278 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001424/1.266, allocations: 348.7 kB / 1.279 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/1.266, allocations: 55.94 kB / 1.279 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004892/1.271, allocations: 5.727 MB / 1.284 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.271, allocations: 64 / 1.284 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/1.281, allocations: 4.887 MB / 1.289 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/1.284, allocations: 0.7863 MB / 1.29 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004747/1.284, allocations: 43.98 kB / 1.29 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002189/1.286, allocations: 308.4 kB / 1.29 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/1.287, allocations: 129.8 kB / 1.29 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/1.287, allocations: 71.94 kB / 1.29 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003276/1.29, allocations: 2.216 MB / 1.292 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.29, allocations: 0 / 1.292 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002638/1.293, allocations: 0.8693 MB / 1.293 GB, free: 10.15 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.001645/1.294, allocations: 0.6949 MB / 1.294 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007012/1.301, allocations: 3.391 MB / 1.297 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.301, allocations: 0 / 1.297 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003487/1.305, allocations: 1.821 MB / 1.299 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003478/1.308, allocations: 0.8379 MB / 1.3 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/1.32, allocations: 6.596 MB / 1.306 GB, free: 12.92 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002059/1.322, allocations: 2.353 MB / 1.309 GB, free: 10.53 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00327/1.325, allocations: 0.9321 MB / 1.309 GB, free: 9.59 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008271/1.326, allocations: 239.2 kB / 1.31 GB, free: 9.355 MB / 1.014 GB Notification: Performance of SimCode: time 1.032e-06/1.326, allocations: 0 / 1.31 GB, free: 9.355 MB / 1.014 GB Notification: Performance of Templates: time 0.07468/1.401, allocations: 48.23 MB / 1.357 GB, free: 9.52 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 gbode -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