Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007543/0.007543, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001484/0.001485, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.508/2.508, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 62.14 kB / 0.9504 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3174, allocations: 140.4 MB / 1.087 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.008357/0.3258, allocations: 5.346 MB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2165/0.5423, allocations: 151.6 MB / 1.241 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.5434, allocations: 19.94 kB / 1.241 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008484/0.5443, allocations: 198.1 kB / 1.241 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002329/0.5466, allocations: 0.6203 MB / 1.242 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002572/0.5492, allocations: 1.032 MB / 1.243 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002391/0.5516, allocations: 1.944 MB / 1.244 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.5532, allocations: 0.9865 MB / 1.245 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.5545, allocations: 0.767 MB / 1.246 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.5559, allocations: 0.8247 MB / 1.247 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005504/0.5565, allocations: 208 kB / 1.247 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.558, allocations: 0.7026 MB / 1.248 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005775/0.5586, allocations: 494.5 kB / 1.248 GB, free: 12.62 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001211/0.5598, allocations: 0.8591 MB / 1.249 GB, free: 11.76 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003407/0.5632, allocations: 2.559 MB / 1.252 GB, free: 9.195 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5633, allocations: 0 / 1.252 GB, free: 9.195 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5633, allocations: 0 / 1.252 GB, free: 9.195 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.509e-05/0.5634, allocations: 4 kB / 1.252 GB, free: 9.191 MB / 1.014 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.004651/0.568, allocations: 1.936 MB / 1.254 GB, free: 7.199 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.5681, allocations: 8.031 kB / 1.254 GB, free: 7.191 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003434/0.5684, allocations: 203 kB / 1.254 GB, free: 6.984 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7587/1.327, allocations: 15.39 MB / 1.269 GB, free: 173 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/1.331, allocations: 1.402 MB / 1.27 GB, free: 172.7 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/1.331, allocations: 103.5 kB / 1.27 GB, free: 172.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006565/1.332, allocations: 135.4 kB / 1.27 GB, free: 172.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03573/1.367, allocations: 8.048 MB / 1.278 GB, free: 170.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/1.368, allocations: 3.938 kB / 1.278 GB, free: 170.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003195/1.368, allocations: 56.38 kB / 1.278 GB, free: 170.4 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-05/1.368, allocations: 34 kB / 1.278 GB, free: 170.4 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06232/1.43, allocations: 14.14 MB / 1.292 GB, free: 163 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04042/1.471, allocations: 11.1 MB / 1.303 GB, free: 155.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03416/1.505, allocations: 8.281 MB / 1.311 GB, free: 149.2 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02772/1.533, allocations: 6.491 MB / 1.317 GB, free: 142.7 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004738/1.533, allocations: 0.6112 MB / 1.318 GB, free: 142 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02889/1.562, allocations: 7.053 MB / 1.325 GB, free: 134.9 MB / 1.014 GB Notification: Performance of pre-optimization done (n=115): time 4.197e-06/1.562, allocations: 4 kB / 1.325 GB, free: 134.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=115): time 0.1174/1.68, allocations: 18.95 MB / 1.343 GB, free: 115.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.68, allocations: 196.9 kB / 1.344 GB, free: 115.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/1.682, allocations: 0.8108 MB / 1.344 GB, free: 114.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0008591/1.682, allocations: 45.7 kB / 1.344 GB, free: 114.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005486/1.683, allocations: 0.5392 MB / 1.345 GB, free: 114.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001085/1.684, allocations: 378 kB / 1.345 GB, free: 113.9 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002355/1.687, allocations: 362.4 kB / 1.346 GB, free: 113.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.687, allocations: 345.9 kB / 1.346 GB, free: 113.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03737/1.724, allocations: 6.553 MB / 1.352 GB, free: 106.6 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0283/1.752, allocations: 6.702 MB / 1.359 GB, free: 99.85 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0508/1.803, allocations: 11.2 MB / 1.37 GB, free: 88.63 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/1.803, allocations: 4 kB / 1.37 GB, free: 88.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.05561/1.859, allocations: 12.62 MB / 1.382 GB, free: 75.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/1.859, allocations: 8.062 kB / 1.382 GB, free: 75.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.859, allocations: 6.078 kB / 1.382 GB, free: 75.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005329/1.86, allocations: 84.77 kB / 1.382 GB, free: 75.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01584/1.875, allocations: 2.671 MB / 1.385 GB, free: 73.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/1.877, allocations: 1.638 MB / 1.386 GB, free: 71.42 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01612/1.893, allocations: 2.46 MB / 1.389 GB, free: 68.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006116/1.894, allocations: 103.8 kB / 1.389 GB, free: 68.85 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (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 (134): * Single equations (assignments): 133 * 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.001158/1.895, allocations: 342.1 kB / 1.389 GB, free: 68.51 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000553/1.896, allocations: 110.6 kB / 1.389 GB, free: 68.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05814/1.954, allocations: 13.19 MB / 1.402 GB, free: 55.19 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/1.954, allocations: 20 kB / 1.402 GB, free: 55.17 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.954, allocations: 0 / 1.402 GB, free: 55.17 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/1.954, allocations: 9.281 kB / 1.402 GB, free: 55.16 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/1.957, allocations: 2.474 MB / 1.405 GB, free: 52.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.957, allocations: 3.375 kB / 1.405 GB, free: 52.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01634/1.973, allocations: 2.66 MB / 1.407 GB, free: 50.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004608/1.974, allocations: 76.62 kB / 1.407 GB, free: 49.94 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006744/1.974, allocations: 99.81 kB / 1.408 GB, free: 49.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/1.976, allocations: 1.666 MB / 1.409 GB, free: 48.03 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.976, allocations: 3.938 kB / 1.409 GB, free: 48.03 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05617/2.032, allocations: 12.56 MB / 1.421 GB, free: 35.43 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/2.034, allocations: 0.8072 MB / 1.422 GB, free: 34.61 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004507/2.034, allocations: 28 kB / 1.422 GB, free: 34.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01545/2.049, allocations: 2.398 MB / 1.425 GB, free: 32.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/2.05, allocations: 101.2 kB / 1.425 GB, free: 32.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004333/2.05, allocations: 105.9 kB / 1.425 GB, free: 31.97 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006603/2.051, allocations: 0.577 MB / 1.425 GB, free: 31.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.021e-06/2.051, allocations: 0 / 1.425 GB, free: 31.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001934/2.053, allocations: 0.7241 MB / 1.426 GB, free: 30.7 MB / 1.014 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.05799/2.111, allocations: 13.66 MB / 1.439 GB, free: 17.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.05627/2.167, allocations: 13.43 MB / 1.453 GB, free: 3.77 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/2.167, allocations: 0 / 1.453 GB, free: 3.77 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.03001/2.197, allocations: 6.821 MB / 1.459 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/2.199, allocations: 331.9 kB / 1.459 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1934/2.392, allocations: 45.45 MB / 1.504 GB, free: 15.01 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008268/2.393, allocations: 1.183 MB / 1.505 GB, free: 13.8 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.003622/2.397, allocations: 0.7391 MB / 1.506 GB, free: 13.05 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002154/2.399, allocations: 0.6747 MB / 1.506 GB, free: 12.38 MB / 1.076 GB Notification: Performance of SimCode: time 1.974e-06/2.399, allocations: 4 kB / 1.506 GB, free: 12.38 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09848/2.498, allocations: 49.94 MB / 1.555 GB, free: 10.52 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/16.83, allocations: 21.91 kB / 1.555 GB, free: 10.5 MB / 1.123 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches