Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_9_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.004875/0.004875, allocations: 97.39 kB / 15.73 MB, free: 6.035 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.001105/0.001105, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.32/2.32, allocations: 390.2 MB / 0.6648 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 62.44 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2281, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.006358/0.2345, allocations: 5.071 MB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1471/0.3816, allocations: 151.5 MB / 1.24 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007795/0.3824, allocations: 15.94 kB / 1.24 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006444/0.3831, allocations: 206.1 kB / 1.241 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.385, allocations: 0.5919 MB / 1.241 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.3872, allocations: 1 MB / 1.242 GB, free: 3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001824/0.3891, allocations: 1.785 MB / 1.244 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.3901, allocations: 0.874 MB / 1.245 GB, free: 300 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007241/0.3909, allocations: 0.6891 MB / 1.245 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007437/0.3916, allocations: 0.7586 MB / 1.246 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.3918, allocations: 172 kB / 1.246 GB, free: 14.67 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009896/0.3928, allocations: 0.6675 MB / 1.247 GB, free: 14 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003427/0.3932, allocations: 434.7 kB / 1.247 GB, free: 13.58 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000605/0.3938, allocations: 0.7618 MB / 1.248 GB, free: 12.81 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.3959, allocations: 2.249 MB / 1.25 GB, free: 10.55 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3959, allocations: 0 / 1.25 GB, free: 10.55 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3959, allocations: 0 / 1.25 GB, free: 10.55 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.422e-05/0.396, allocations: 0 / 1.25 GB, free: 10.55 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.003228/0.3992, allocations: 1.873 MB / 1.252 GB, free: 8.625 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.3992, allocations: 8.031 kB / 1.252 GB, free: 8.617 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002091/0.3994, allocations: 186 kB / 1.252 GB, free: 8.426 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5492/0.9486, allocations: 15.38 MB / 1.267 GB, free: 172.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/0.9514, allocations: 1.231 MB / 1.269 GB, free: 172.7 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.9515, allocations: 94.25 kB / 1.269 GB, free: 172.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004748/0.952, allocations: 121.6 kB / 1.269 GB, free: 172.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03812/0.9901, allocations: 7.679 MB / 1.276 GB, free: 171.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.9902, allocations: 9.031 kB / 1.276 GB, free: 171.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003164/0.9905, allocations: 55.19 kB / 1.276 GB, free: 171.4 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.9906, allocations: 30.91 kB / 1.276 GB, free: 171.4 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06881/1.059, allocations: 13.57 MB / 1.29 GB, free: 164.7 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04183/1.101, allocations: 9.502 MB / 1.299 GB, free: 158.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03964/1.141, allocations: 7.91 MB / 1.307 GB, free: 154.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03273/1.174, allocations: 6.192 MB / 1.313 GB, free: 147.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004154/1.174, allocations: 0.5981 MB / 1.313 GB, free: 147.1 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03347/1.208, allocations: 6.756 MB / 1.32 GB, free: 140.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=113): time 2.765e-06/1.208, allocations: 4 kB / 1.32 GB, free: 140.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=113): time 0.09756/1.305, allocations: 18.17 MB / 1.338 GB, free: 122.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/1.305, allocations: 196.9 kB / 1.338 GB, free: 121.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008995/1.306, allocations: 0.7611 MB / 1.339 GB, free: 121.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003518/1.307, allocations: 49.7 kB / 1.339 GB, free: 121.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/1.307, allocations: 0.5042 MB / 1.339 GB, free: 120.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004553/1.307, allocations: 380.1 kB / 1.339 GB, free: 120.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009195/1.308, allocations: 357 kB / 1.34 GB, free: 119.9 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/1.308, allocations: 357.9 kB / 1.34 GB, free: 119.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03329/1.342, allocations: 6.295 MB / 1.346 GB, free: 113.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03309/1.375, allocations: 6.437 MB / 1.353 GB, free: 106.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06108/1.436, allocations: 10.89 MB / 1.363 GB, free: 95.87 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/1.436, allocations: 4 kB / 1.363 GB, free: 95.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.06528/1.501, allocations: 12.22 MB / 1.375 GB, free: 83.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/1.501, allocations: 4 kB / 1.375 GB, free: 83.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.501, allocations: 1.422 kB / 1.375 GB, free: 83.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005685/1.502, allocations: 84.83 kB / 1.375 GB, free: 83.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01851/1.52, allocations: 2.667 MB / 1.378 GB, free: 80.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/1.522, allocations: 1.634 MB / 1.379 GB, free: 79.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01796/1.54, allocations: 2.453 MB / 1.382 GB, free: 76.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003048/1.54, allocations: 111.1 kB / 1.382 GB, free: 76.54 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.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.0009704/1.541, allocations: 312.7 kB / 1.382 GB, free: 76.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004984/1.542, allocations: 115.3 kB / 1.382 GB, free: 76.11 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06661/1.608, allocations: 12.72 MB / 1.395 GB, free: 63.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/1.608, allocations: 12 kB / 1.395 GB, free: 63.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.608, allocations: 0 / 1.395 GB, free: 63.36 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/1.608, allocations: 11.91 kB / 1.395 GB, free: 63.35 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/1.61, allocations: 1.868 MB / 1.397 GB, free: 61.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/1.61, allocations: 0 / 1.397 GB, free: 61.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01868/1.629, allocations: 2.656 MB / 1.399 GB, free: 58.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004475/1.63, allocations: 72.78 kB / 1.399 GB, free: 58.74 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003243/1.63, allocations: 95.81 kB / 1.399 GB, free: 58.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/1.631, allocations: 1.655 MB / 1.401 GB, free: 56.84 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.631, allocations: 4.062 kB / 1.401 GB, free: 56.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06568/1.697, allocations: 12.1 MB / 1.413 GB, free: 44.71 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/1.699, allocations: 0.6674 MB / 1.413 GB, free: 44.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004963/1.699, allocations: 31.94 kB / 1.413 GB, free: 43.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01813/1.717, allocations: 2.4 MB / 1.416 GB, free: 41.59 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/1.717, allocations: 101.1 kB / 1.416 GB, free: 41.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003058/1.718, allocations: 103.8 kB / 1.416 GB, free: 41.38 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005942/1.718, allocations: 0.5498 MB / 1.417 GB, free: 40.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.403e-06/1.718, allocations: 0 / 1.417 GB, free: 40.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001686/1.72, allocations: 0.7089 MB / 1.417 GB, free: 40.13 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,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.06786/1.788, allocations: 13.19 MB / 1.43 GB, free: 27.12 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.06713/1.855, allocations: 12.87 MB / 1.443 GB, free: 14.22 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.855, allocations: 3.938 kB / 1.443 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.03343/1.889, allocations: 6.509 MB / 1.449 GB, free: 7.688 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/1.89, allocations: 319 kB / 1.449 GB, free: 7.402 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2174/2.108, allocations: 43.49 MB / 1.492 GB, free: 11.71 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007749/2.108, allocations: 1.148 MB / 1.493 GB, free: 10.54 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.003592/2.112, allocations: 0.731 MB / 1.494 GB, free: 9.801 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002125/2.114, allocations: 0.6356 MB / 1.494 GB, free: 9.164 MB / 1.061 GB Notification: Performance of SimCode: time 6.91e-07/2.114, allocations: 0 / 1.494 GB, free: 9.164 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08046/2.195, allocations: 46.31 MB / 1.54 GB, free: 10.98 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/15.55, allocations: 9.641 kB / 1.54 GB, free: 10.98 MB / 1.107 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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.fraSun,walSolAzi.verAzi,weaBus.HDifHor,weaBus.HDirNor