Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.HeatTransfer.Windows.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun|ove.HDirTilUns|ove.HDirTil",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun|ove.HDirTilUns|ove.HDirTil",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001877/0.001877, allocations: 188.5 kB / 16.25 MB, free: 6.641 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.373/1.373, allocations: 222.9 MB / 239.9 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 482.3 MB / 0.7543 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.06 kB / 0.9233 GB, free: 29.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.348, allocations: 162.2 MB / 1.082 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.009045/0.3571, allocations: 6.552 MB / 1.088 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.175/0.5321, allocations: 149.8 MB / 1.234 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.5334, allocations: 15.94 kB / 1.234 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.5345, allocations: 190.5 kB / 1.235 GB, free: 448 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.5371, allocations: 0.6205 MB / 1.235 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.5396, allocations: 0.9465 MB / 1.236 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00277/0.5424, allocations: 2.134 MB / 1.238 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.5437, allocations: 0.9325 MB / 1.239 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.545, allocations: 0.7904 MB / 1.24 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.5461, allocations: 0.86 MB / 1.241 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002572/0.5463, allocations: 208 kB / 1.241 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.5476, allocations: 0.6792 MB / 1.242 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000422/0.548, allocations: 490.6 kB / 1.242 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008413/0.5488, allocations: 0.9059 MB / 1.243 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.5517, allocations: 2.571 MB / 1.245 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5517, allocations: 4 kB / 1.245 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5517, allocations: 0 / 1.245 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.393e-05/0.5518, allocations: 0 / 1.245 GB, free: 5.254 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.003835/0.5556, allocations: 1.963 MB / 1.247 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5557, allocations: 12.03 kB / 1.247 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7048/1.26, allocations: 15.38 MB / 1.262 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/1.264, allocations: 1.384 MB / 1.264 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/1.264, allocations: 105.4 kB / 1.264 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004562/1.264, allocations: 132.2 kB / 1.264 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03421/1.298, allocations: 8.043 MB / 1.272 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/1.298, allocations: 0 / 1.272 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003496/1.299, allocations: 61.59 kB / 1.272 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/1.299, allocations: 32.94 kB / 1.272 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06348/1.362, allocations: 14.14 MB / 1.286 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04093/1.403, allocations: 11.72 MB / 1.297 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0364/1.44, allocations: 8.295 MB / 1.305 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02874/1.468, allocations: 6.493 MB / 1.312 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004399/1.469, allocations: 0.601 MB / 1.312 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02976/1.499, allocations: 7.049 MB / 1.319 GB, free: 133.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=115): time 4.058e-06/1.499, allocations: 6.516 kB / 1.319 GB, free: 133.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=115): time 0.08634/1.585, allocations: 18.96 MB / 1.338 GB, free: 114.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/1.585, allocations: 192.9 kB / 1.338 GB, free: 113.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/1.586, allocations: 0.81 MB / 1.339 GB, free: 113 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006666/1.587, allocations: 53.7 kB / 1.339 GB, free: 113 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/1.587, allocations: 0.5354 MB / 1.339 GB, free: 112.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004818/1.588, allocations: 377.4 kB / 1.34 GB, free: 112.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009889/1.589, allocations: 386.4 kB / 1.34 GB, free: 111.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.142e-05/1.589, allocations: 341.9 kB / 1.34 GB, free: 111.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02928/1.618, allocations: 6.572 MB / 1.347 GB, free: 104.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02845/1.647, allocations: 6.707 MB / 1.353 GB, free: 98.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05097/1.698, allocations: 11.22 MB / 1.364 GB, free: 86.78 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.698, allocations: 0 / 1.364 GB, free: 86.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.05523/1.753, allocations: 12.68 MB / 1.377 GB, free: 74.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/1.753, allocations: 4 kB / 1.377 GB, free: 74.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.753, allocations: 0 / 1.377 GB, free: 74.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005394/1.754, allocations: 88.83 kB / 1.377 GB, free: 73.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0166/1.77, allocations: 2.681 MB / 1.379 GB, free: 71.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/1.772, allocations: 1.659 MB / 1.381 GB, free: 69.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01636/1.788, allocations: 2.46 MB / 1.383 GB, free: 67.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006804/1.789, allocations: 111.8 kB / 1.383 GB, free: 66.91 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,ove.ove.solAzi.outsidePolarCircle,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001233/1.79, allocations: 354.8 kB / 1.384 GB, free: 66.55 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005372/1.791, allocations: 110.1 kB / 1.384 GB, free: 66.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0598/1.851, allocations: 13.2 MB / 1.397 GB, free: 53.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/1.851, allocations: 16 kB / 1.397 GB, free: 53.21 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.851, allocations: 0 / 1.397 GB, free: 53.21 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/1.851, allocations: 7.969 kB / 1.397 GB, free: 53.21 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/1.854, allocations: 2.459 MB / 1.399 GB, free: 50.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/1.854, allocations: 0 / 1.399 GB, free: 50.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01653/1.87, allocations: 2.656 MB / 1.402 GB, free: 48.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004839/1.871, allocations: 76.77 kB / 1.402 GB, free: 47.99 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005764/1.871, allocations: 91.81 kB / 1.402 GB, free: 47.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/1.873, allocations: 1.667 MB / 1.404 GB, free: 46.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.873, allocations: 7.969 kB / 1.404 GB, free: 46.08 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05725/1.93, allocations: 12.55 MB / 1.416 GB, free: 33.49 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/1.932, allocations: 0.8053 MB / 1.417 GB, free: 32.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004808/1.932, allocations: 27.91 kB / 1.417 GB, free: 32.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01551/1.948, allocations: 2.42 MB / 1.419 GB, free: 30.21 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/1.948, allocations: 109.1 kB / 1.419 GB, free: 30.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004562/1.948, allocations: 103.8 kB / 1.419 GB, free: 30 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006811/1.949, allocations: 0.5693 MB / 1.42 GB, free: 29.44 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.01e-07/1.949, allocations: 0 / 1.42 GB, free: 29.44 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00229/1.951, allocations: 0.7518 MB / 1.42 GB, free: 28.71 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002306/1.954, allocations: 0.6478 MB / 1.421 GB, free: 28.28 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06091/2.015, allocations: 13.84 MB / 1.435 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/2.015, allocations: 0 / 1.435 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0303/2.045, allocations: 6.814 MB / 1.441 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/2.047, allocations: 344.2 kB / 1.442 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03367/2.08, allocations: 9.064 MB / 1.45 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008586/2.081, allocations: 1.186 MB / 1.452 GB, free: 12.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.004413/2.086, allocations: 0.7471 MB / 1.452 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/2.087, allocations: 259 kB / 1.453 GB, free: 11.96 MB / 1.014 GB Notification: Performance of SimCode: time 1.513e-06/2.088, allocations: 3.938 kB / 1.453 GB, free: 11.96 MB / 1.014 GB Notification: Performance of Templates: time 0.06967/2.157, allocations: 41.76 MB / 1.493 GB, free: 2.293 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches