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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.00902/0.00902, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002263/0.002263, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.645/2.645, allocations: 469.4 MB / 0.7421 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 79.81 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2652, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.007615/0.2729, allocations: 6.052 MB / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7023/0.9752, allocations: 151.9 MB / 1.374 GB, free: 9.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009376/0.9761, allocations: 21.97 kB / 1.374 GB, free: 9.672 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007931/0.977, allocations: 226.8 kB / 1.374 GB, free: 9.527 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.9793, allocations: 0.682 MB / 1.375 GB, free: 9.121 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.9818, allocations: 1.01 MB / 1.376 GB, free: 8.59 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00233/0.9841, allocations: 1.948 MB / 1.378 GB, free: 7.609 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.9854, allocations: 0.8158 MB / 1.379 GB, free: 7.176 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.9866, allocations: 0.7164 MB / 1.379 GB, free: 6.828 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.9879, allocations: 0.7828 MB / 1.38 GB, free: 6.43 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004587/0.9883, allocations: 170.9 kB / 1.38 GB, free: 6.43 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.9898, allocations: 0.6725 MB / 1.381 GB, free: 6.25 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003933/0.9902, allocations: 435 kB / 1.381 GB, free: 5.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008135/0.991, allocations: 0.7931 MB / 1.382 GB, free: 5.336 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002737/0.9937, allocations: 2.306 MB / 1.384 GB, free: 3.676 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.9938, allocations: 1.312 kB / 1.384 GB, free: 3.676 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9938, allocations: 0 / 1.384 GB, free: 3.676 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.808e-05/0.9938, allocations: 0 / 1.384 GB, free: 3.676 MB / 1.076 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.003956/0.9978, allocations: 1.9 MB / 1.386 GB, free: 2.219 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.9978, allocations: 10.44 kB / 1.386 GB, free: 2.219 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002442/0.9981, allocations: 187.4 kB / 1.386 GB, free: 2.066 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1107/1.109, allocations: 15.38 MB / 1.401 GB, free: 10.51 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/1.112, allocations: 1.229 MB / 1.403 GB, free: 9.547 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.167e-05/1.112, allocations: 99.66 kB / 1.403 GB, free: 9.5 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004585/1.112, allocations: 120.6 kB / 1.403 GB, free: 9.461 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0371/1.149, allocations: 7.676 MB / 1.41 GB, free: 2.715 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/1.149, allocations: 3.984 kB / 1.41 GB, free: 2.711 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000376/1.15, allocations: 48 kB / 1.41 GB, free: 2.664 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/1.15, allocations: 32 kB / 1.41 GB, free: 2.633 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07051/1.22, allocations: 13.58 MB / 1.424 GB, free: 5.027 MB / 1.107 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.04479/1.265, allocations: 9.846 MB / 1.433 GB, free: 11.03 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04064/1.306, allocations: 7.916 MB / 1.441 GB, free: 3.102 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03301/1.339, allocations: 6.192 MB / 1.447 GB, free: 12.9 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005606/1.339, allocations: 0.6023 MB / 1.448 GB, free: 12.17 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03509/1.374, allocations: 6.756 MB / 1.454 GB, free: 5.387 MB / 1.139 GB Notification: Performance of pre-optimization done (n=113): time 4.168e-06/1.374, allocations: 0 / 1.454 GB, free: 5.387 MB / 1.139 GB Notification: Performance of matching and sorting (n=113): time 0.1034/1.478, allocations: 18.19 MB / 1.472 GB, free: 3.145 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.478, allocations: 196.9 kB / 1.472 GB, free: 2.91 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/1.479, allocations: 0.7589 MB / 1.473 GB, free: 2.141 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0006096/1.48, allocations: 49.7 kB / 1.473 GB, free: 2.086 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004326/1.48, allocations: 0.5014 MB / 1.473 GB, free: 1.578 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008237/1.481, allocations: 392.7 kB / 1.474 GB, free: 1.191 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001402/1.483, allocations: 350.5 kB / 1.474 GB, free: 0.8398 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.483, allocations: 353.9 kB / 1.474 GB, free: 500 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03437/1.517, allocations: 6.298 MB / 1.481 GB, free: 10.19 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03472/1.552, allocations: 6.44 MB / 1.487 GB, free: 3.703 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06358/1.616, allocations: 10.9 MB / 1.498 GB, free: 8.781 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/1.616, allocations: 4 kB / 1.498 GB, free: 8.777 MB / 1.186 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.06896/1.685, allocations: 12.22 MB / 1.509 GB, free: 12.53 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/1.685, allocations: 8 kB / 1.51 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/1.685, allocations: 0 / 1.51 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006275/1.685, allocations: 84.84 kB / 1.51 GB, free: 12.44 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01944/1.705, allocations: 2.671 MB / 1.512 GB, free: 9.762 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/1.707, allocations: 1.634 MB / 1.514 GB, free: 7.98 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01889/1.726, allocations: 2.465 MB / 1.516 GB, free: 5.512 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005994/1.726, allocations: 103.8 kB / 1.516 GB, free: 5.41 MB / 1.201 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.001335/1.728, allocations: 313.9 kB / 1.517 GB, free: 5.098 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007397/1.729, allocations: 111.3 kB / 1.517 GB, free: 4.988 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07092/1.799, allocations: 12.73 MB / 1.529 GB, free: 8.234 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/1.799, allocations: 12 kB / 1.529 GB, free: 8.223 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.799, allocations: 4 kB / 1.529 GB, free: 8.219 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-05/1.8, allocations: 3.984 kB / 1.529 GB, free: 8.215 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/1.802, allocations: 1.862 MB / 1.531 GB, free: 6.305 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.802, allocations: 0 / 1.531 GB, free: 6.305 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01945/1.822, allocations: 2.656 MB / 1.534 GB, free: 3.645 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005073/1.822, allocations: 76.73 kB / 1.534 GB, free: 3.566 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005706/1.823, allocations: 91.8 kB / 1.534 GB, free: 3.477 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/1.825, allocations: 1.659 MB / 1.535 GB, free: 1.672 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.825, allocations: 4.062 kB / 1.535 GB, free: 1.668 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06954/1.894, allocations: 12.09 MB / 1.547 GB, free: 5.531 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/1.896, allocations: 0.6713 MB / 1.548 GB, free: 4.84 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007867/1.897, allocations: 38.3 kB / 1.548 GB, free: 4.805 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01854/1.916, allocations: 2.406 MB / 1.55 GB, free: 2.395 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/1.916, allocations: 93.17 kB / 1.55 GB, free: 2.305 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005189/1.917, allocations: 107.8 kB / 1.55 GB, free: 2.199 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008404/1.917, allocations: 0.542 MB / 1.551 GB, free: 1.66 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/1.918, allocations: 0 / 1.551 GB, free: 1.66 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002418/1.92, allocations: 0.7176 MB / 1.552 GB, free: 0.9414 MB / 1.232 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.07123/1.991, allocations: 13.2 MB / 1.565 GB, free: 3.879 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.06925/2.06, allocations: 12.88 MB / 1.577 GB, free: 6.969 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/2.061, allocations: 4.062 kB / 1.577 GB, free: 6.965 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.03513/2.096, allocations: 6.497 MB / 1.583 GB, free: 460 kB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/2.098, allocations: 350.3 kB / 1.584 GB, free: 132 kB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2175/2.316, allocations: 43.38 MB / 1.626 GB, free: 4.543 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007823/2.317, allocations: 1.151 MB / 1.627 GB, free: 3.363 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.003854/2.321, allocations: 0.7311 MB / 1.628 GB, free: 2.629 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002268/2.323, allocations: 0.6317 MB / 1.629 GB, free: 1.996 MB / 1.311 GB Notification: Performance of SimCode: time 7.81e-07/2.323, allocations: 0 / 1.629 GB, free: 1.996 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07626/2.399, allocations: 47 MB / 1.674 GB, free: 3.25 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/15.86, allocations: 10.17 kB / 1.675 GB, free: 3.242 MB / 1.357 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 50 --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