Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.001487/0.001487, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.373/2.373, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 63.84 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5558/0.5582, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002231/0.5605, allocations: 1.585 MB / 0.9513 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.5615, allocations: 0.7836 MB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.5616, allocations: 1.219 kB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/0.5616, allocations: 11.86 kB / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-05/0.5617, allocations: 22.61 kB / 0.9521 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.5622, allocations: 147.5 kB / 0.9522 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.5623, allocations: 140.5 kB / 0.9523 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.386e-05/0.5624, allocations: 17.67 kB / 0.9524 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.5625, allocations: 56.19 kB / 0.9524 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.943e-05/0.5626, allocations: 73.52 kB / 0.9525 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.5627, allocations: 12.44 kB / 0.9525 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.5629, allocations: 103.5 kB / 0.9526 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.314e-05/0.5629, allocations: 36.14 kB / 0.9526 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.563, allocations: 51.28 kB / 0.9527 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.5632, allocations: 195.1 kB / 0.9529 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5632, allocations: 0 / 0.9529 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5632, allocations: 1.312 kB / 0.9529 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5632, allocations: 0 / 0.9529 GB, free: 6.738 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006251/0.5639, allocations: 487.6 kB / 0.9533 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.5639, allocations: 8.562 kB / 0.9533 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.4e-05/0.5639, allocations: 41.08 kB / 0.9534 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.564, allocations: 13.88 kB / 0.9534 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.821e-05/0.5641, allocations: 179.4 kB / 0.9536 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.5641, allocations: 11.19 kB / 0.9536 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.5641, allocations: 9.125 kB / 0.9536 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.5643, allocations: 94.77 kB / 0.9537 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5644, allocations: 4 kB / 0.9537 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.5644, allocations: 5.125 kB / 0.9537 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5644, allocations: 1.156 kB / 0.9537 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.5646, allocations: 61.92 kB / 0.9537 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007522/0.5653, allocations: 386.1 kB / 0.9541 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.5655, allocations: 66.89 kB / 0.9542 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.5656, allocations: 48.72 kB / 0.9542 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.5657, allocations: 5.297 kB / 0.9542 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.5659, allocations: 103 kB / 0.9543 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.5659, allocations: 0 / 0.9543 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005113/0.5664, allocations: 211.2 kB / 0.9545 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.5664, allocations: 58.19 kB / 0.9546 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.974e-05/0.5665, allocations: 148.9 kB / 0.9547 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.5666, allocations: 30.95 kB / 0.9547 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.5666, allocations: 100 kB / 0.9548 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.5666, allocations: 20.12 kB / 0.9549 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.5667, allocations: 31.2 kB / 0.9549 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.662e-05/0.5667, allocations: 321.5 kB / 0.9552 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.5668, allocations: 45.78 kB / 0.9552 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.567, allocations: 75.3 kB / 0.9553 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.5672, allocations: 109.3 kB / 0.9554 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.5672, allocations: 3.688 kB / 0.9554 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003066/0.5675, allocations: 155 kB / 0.9556 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.5675, allocations: 5.562 kB / 0.9556 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.5675, allocations: 1.188 kB / 0.9556 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.5676, allocations: 2.5 kB / 0.9556 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.5677, allocations: 28.66 kB / 0.9556 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.5677, allocations: 2.062 kB / 0.9556 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.5678, allocations: 13.94 kB / 0.9556 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.5679, allocations: 12.75 kB / 0.9556 GB, free: 4.227 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.08e-05/0.5679, allocations: 119.8 kB / 0.9557 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.568, allocations: 12.28 kB / 0.9558 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.568, allocations: 11.16 kB / 0.9558 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.568, allocations: 5.094 kB / 0.9558 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.568, allocations: 1.156 kB / 0.9558 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-06/0.568, allocations: 112 / 0.9558 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.5685, allocations: 464.6 kB / 0.9562 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5685, allocations: 5.109 kB / 0.9562 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.5686, allocations: 21.17 kB / 0.9562 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.5686, allocations: 1.406 kB / 0.9562 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.5686, allocations: 5.453 kB / 0.9562 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.5686, allocations: 0 / 0.9562 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5687, allocations: 1.375 kB / 0.9562 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.569, allocations: 267.5 kB / 0.9565 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.569, allocations: 99.45 kB / 0.9566 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.5691, allocations: 3.984 kB / 0.9566 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.5692, allocations: 3.594 kB / 0.9566 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.5692, allocations: 11.48 kB / 0.9566 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.5693, allocations: 2.625 kB / 0.9566 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.5693, allocations: 113.4 kB / 0.9567 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5693, allocations: 0 / 0.9567 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003138/0.5696, allocations: 42.03 kB / 0.9568 GB, free: 3.219 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006906/0.5703, allocations: 0.8626 MB / 0.9576 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003194/0.5707, allocations: 111.8 kB / 0.9577 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5707, allocations: 0 / 0.9577 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.5708, allocations: 54.78 kB / 0.9578 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.5711, allocations: 24.72 kB / 0.9578 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.5726, allocations: 1.705 MB / 0.9595 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.337e-05/0.5727, allocations: 0.7064 MB / 0.9601 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.23e-05/0.5728, allocations: 7.578 kB / 0.9602 GB, free: 148 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.5729, allocations: 32.64 kB / 0.9602 GB, free: 120 kB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5729, allocations: 0 / 0.9602 GB, free: 120 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.5912, allocations: 3.355 MB / 0.9635 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.362/7.953, allocations: 9.406 kB / 0.9635 GB, free: 14.38 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[552]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:time,win.TIn,win.TOut,win.pClose,win.pOpen,TIn.amplitude