Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_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.007643/0.007643, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.002045/0.002045, allocations: 197.7 kB / 16.67 MB, free: 5.531 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.751/2.751, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 68.97 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2717, allocations: 162.2 MB / 1.241 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.008183/0.2799, allocations: 6.064 MB / 1.247 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1682/0.4481, allocations: 151.9 MB / 1.396 GB, free: 10.65 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007999/0.4489, allocations: 19.88 kB / 1.396 GB, free: 10.63 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006942/0.4496, allocations: 225.8 kB / 1.396 GB, free: 10.41 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.4516, allocations: 0.6703 MB / 1.397 GB, free: 9.742 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.454, allocations: 1.009 MB / 1.398 GB, free: 8.738 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00226/0.4562, allocations: 1.951 MB / 1.4 GB, free: 6.781 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.4575, allocations: 0.8123 MB / 1.4 GB, free: 5.926 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009842/0.4585, allocations: 0.7125 MB / 1.401 GB, free: 5.211 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.4596, allocations: 0.7782 MB / 1.402 GB, free: 4.43 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003125/0.4599, allocations: 172 kB / 1.402 GB, free: 4.262 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.4611, allocations: 0.6674 MB / 1.403 GB, free: 3.594 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004626/0.4616, allocations: 446.6 kB / 1.403 GB, free: 3.156 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008672/0.4625, allocations: 0.797 MB / 1.404 GB, free: 2.355 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.4651, allocations: 2.304 MB / 1.406 GB, free: 44 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4652, allocations: 4 kB / 1.406 GB, free: 40 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4652, allocations: 0 / 1.406 GB, free: 40 kB / 1.123 GB Notification: Performance of Transformations before backend: time 3.388e-05/0.4652, allocations: 0 / 1.406 GB, free: 40 kB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.003854/0.4691, allocations: 1.885 MB / 1.408 GB, free: 14.09 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4691, allocations: 12.02 kB / 1.408 GB, free: 14.08 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002493/0.4694, allocations: 186 kB / 1.408 GB, free: 13.89 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1204/0.5897, allocations: 15.38 MB / 1.423 GB, free: 14.48 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.5919, allocations: 1.235 MB / 1.424 GB, free: 13.21 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.41e-05/0.592, allocations: 98.47 kB / 1.424 GB, free: 13.11 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003887/0.5924, allocations: 120 kB / 1.425 GB, free: 12.99 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03892/0.6313, allocations: 7.681 MB / 1.432 GB, free: 5.238 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.6314, allocations: 4 kB / 1.432 GB, free: 5.234 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003364/0.6317, allocations: 55.98 kB / 1.432 GB, free: 5.18 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.6317, allocations: 28 kB / 1.432 GB, free: 5.152 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07613/0.7079, allocations: 13.58 MB / 1.445 GB, free: 7.543 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0442/0.7521, allocations: 9.977 MB / 1.455 GB, free: 13.37 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04473/0.7968, allocations: 7.909 MB / 1.463 GB, free: 5.445 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03659/0.8334, allocations: 6.191 MB / 1.469 GB, free: 15.25 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006055/0.8341, allocations: 0.6062 MB / 1.469 GB, free: 14.51 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03783/0.8719, allocations: 6.764 MB / 1.476 GB, free: 7.715 MB / 1.201 GB Notification: Performance of pre-optimization done (n=113): time 2.825e-06/0.8719, allocations: 0 / 1.476 GB, free: 7.715 MB / 1.201 GB Notification: Performance of matching and sorting (n=113): time 0.1107/0.9826, allocations: 18.17 MB / 1.494 GB, free: 5.492 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.9827, allocations: 200.9 kB / 1.494 GB, free: 5.254 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.9838, allocations: 0.7629 MB / 1.495 GB, free: 4.484 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002585/0.9841, allocations: 53.62 kB / 1.495 GB, free: 4.426 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004375/0.9845, allocations: 0.5014 MB / 1.495 GB, free: 3.918 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005263/0.985, allocations: 388.7 kB / 1.496 GB, free: 3.535 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/0.9861, allocations: 354.5 kB / 1.496 GB, free: 3.18 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.9863, allocations: 341.9 kB / 1.496 GB, free: 2.84 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03751/1.024, allocations: 6.303 MB / 1.502 GB, free: 12.53 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03735/1.061, allocations: 6.444 MB / 1.509 GB, free: 6.043 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06828/1.129, allocations: 10.9 MB / 1.519 GB, free: 11.12 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.129, allocations: 0 / 1.519 GB, free: 11.12 MB / 1.248 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.07261/1.202, allocations: 12.22 MB / 1.531 GB, free: 14.87 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.202, allocations: 4 kB / 1.531 GB, free: 14.87 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/1.202, allocations: 3.938 kB / 1.531 GB, free: 14.86 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/1.203, allocations: 88.83 kB / 1.531 GB, free: 14.77 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01969/1.222, allocations: 2.667 MB / 1.534 GB, free: 12.1 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/1.225, allocations: 1.627 MB / 1.536 GB, free: 10.33 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01934/1.244, allocations: 2.456 MB / 1.538 GB, free: 7.871 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003483/1.244, allocations: 115.7 kB / 1.538 GB, free: 7.758 MB / 1.264 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.solAzi.outsidePolarCircle,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,incAng.decAng.tNext,$PRE.incAng.decAng.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 (132): * Single equations (assignments): 131 * 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.0008981/1.245, allocations: 311.9 kB / 1.538 GB, free: 7.445 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004867/1.246, allocations: 107.3 kB / 1.539 GB, free: 7.34 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5754/1.821, allocations: 12.73 MB / 1.551 GB, free: 303.5 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/1.821, allocations: 13.28 kB / 1.551 GB, free: 303.5 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.821, allocations: 0.5312 kB / 1.551 GB, free: 303.5 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/1.821, allocations: 7.094 kB / 1.551 GB, free: 303.5 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/1.824, allocations: 1.859 MB / 1.553 GB, free: 303.1 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/1.824, allocations: 1.312 kB / 1.553 GB, free: 303.1 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01955/1.843, allocations: 2.65 MB / 1.555 GB, free: 303 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004686/1.844, allocations: 76.38 kB / 1.555 GB, free: 303 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003321/1.844, allocations: 94.11 kB / 1.556 GB, free: 303 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/1.846, allocations: 1.66 MB / 1.557 GB, free: 301.5 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.846, allocations: 1.562 kB / 1.557 GB, free: 301.5 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06823/1.914, allocations: 12.1 MB / 1.569 GB, free: 298 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.915, allocations: 0.6704 MB / 1.57 GB, free: 297.6 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004486/1.915, allocations: 27.38 kB / 1.57 GB, free: 297.6 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01831/1.934, allocations: 2.401 MB / 1.572 GB, free: 296.4 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/1.934, allocations: 100.2 kB / 1.572 GB, free: 296.3 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003141/1.934, allocations: 105.4 kB / 1.572 GB, free: 296.3 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0005626/1.935, allocations: 0.5421 MB / 1.573 GB, free: 296 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.5e-07/1.935, allocations: 0 / 1.573 GB, free: 296 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001549/1.936, allocations: 0.7276 MB / 1.573 GB, free: 295.9 MB / 1.264 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (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 (134): * Single equations (assignments): 127 * 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.06909/2.005, allocations: 13.19 MB / 1.586 GB, free: 286.5 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.06812/2.074, allocations: 12.88 MB / 1.599 GB, free: 273.6 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/2.074, allocations: 0 / 1.599 GB, free: 273.6 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.034/2.108, allocations: 6.508 MB / 1.605 GB, free: 267.1 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/2.109, allocations: 349.9 kB / 1.606 GB, free: 266.8 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2058/2.315, allocations: 43.37 MB / 1.648 GB, free: 223.3 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/2.315, allocations: 1.151 MB / 1.649 GB, free: 222.1 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00292/2.318, allocations: 0.7342 MB / 1.65 GB, free: 221.3 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001897/2.32, allocations: 0.6356 MB / 1.65 GB, free: 220.7 MB / 1.264 GB Notification: Performance of SimCode: time 5.41e-07/2.32, allocations: 0 / 1.65 GB, free: 220.7 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/2.429, allocations: 46.99 MB / 1.696 GB, free: 174 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/16.15, allocations: 7.094 kB / 1.696 GB, free: 174 MB / 1.264 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[502]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,ove.fraSun Variables in the result:time,incAng.y,ove.alt,ove.fraSun,walSolAzi.verAzi,weaBus.HDifHor