Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.001705/0.001705, allocations: 108 kB / 15.61 MB, free: 152 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.001706/0.001707, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.656/2.656, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001786, allocations: 67.89 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6525/0.6543, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002765/0.6571, allocations: 1.487 MB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.6585, allocations: 0.7323 MB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/0.6585, allocations: 0 / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.114e-05/0.6586, allocations: 3.938 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.526e-05/0.6586, allocations: 11.86 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006578/0.6593, allocations: 135.5 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.6594, allocations: 71.84 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.6596, allocations: 7.984 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.6597, allocations: 35.91 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.37e-05/0.6598, allocations: 43.83 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.6598, allocations: 7.938 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.66, allocations: 95.91 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.6601, allocations: 23.91 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.6601, allocations: 27.86 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.6604, allocations: 141.9 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.6604, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6604, allocations: 3.938 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.6604, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007139/0.6611, allocations: 416.8 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.6612, allocations: 8.031 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.233e-05/0.6612, allocations: 42.73 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.6613, allocations: 12.84 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.6614, allocations: 168.3 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.6615, allocations: 384 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.6615, allocations: 8.375 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.6617, allocations: 77.75 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.6617, allocations: 3.984 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.6617, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.6618, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.6619, allocations: 35.92 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005967/0.6625, allocations: 328.6 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.6626, allocations: 46.5 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.076e-05/0.6627, allocations: 32.97 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.6627, allocations: 8 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.663, allocations: 83.31 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.663, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003864/0.6634, allocations: 137.6 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.6634, allocations: 59.39 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.949e-05/0.6635, allocations: 121.8 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.6635, allocations: 25.7 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.6636, allocations: 96.12 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.6636, allocations: 7.812 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.6637, allocations: 29.7 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.6638, allocations: 322.8 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.109e-05/0.6638, allocations: 27.91 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.35e-05/0.6639, allocations: 54.56 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.6641, allocations: 70.55 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6641, allocations: 3.938 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002332/0.6644, allocations: 113.5 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.6644, allocations: 8 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.6644, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.6644, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.5e-05/0.6645, allocations: 15.92 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.6645, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.6646, allocations: 15.84 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.6646, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.09e-05/0.6647, allocations: 125.7 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.6647, allocations: 8 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.6648, allocations: 12.36 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.6648, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6648, allocations: 4 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6648, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.6652, allocations: 382.3 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6653, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.6653, allocations: 4 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6653, allocations: 4 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.6653, allocations: 3.984 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.6653, allocations: 3.938 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6653, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.6656, allocations: 207.9 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.6657, allocations: 81.02 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.6657, allocations: 11.98 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.6658, allocations: 7.938 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.6659, allocations: 7.984 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.6659, allocations: 4 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.327e-05/0.6659, allocations: 91.27 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6659, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003073/0.6663, allocations: 36 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00081/0.6671, allocations: 0.8183 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.6673, allocations: 71.89 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.6674, allocations: 4.125 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.263e-05/0.6674, allocations: 43.91 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.6677, allocations: 7.938 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.6693, allocations: 1.472 MB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.6695, allocations: 0.6846 MB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.6695, allocations: 7.938 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.6696, allocations: 19.44 kB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of SimCode: time 4e-07/0.6696, allocations: 4 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.6874, allocations: 2.606 MB / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.147/7.834, allocations: 18.06 kB / 1.029 GB, free: 6.23 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset