Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_10_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.008586/0.008586, allocations: 101 kB / 15.73 MB, free: 6.062 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.00199/0.00199, allocations: 195.2 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.664/2.664, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.84 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6734/0.6753, allocations: 151.6 MB / 1.166 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002756/0.6781, allocations: 1.587 MB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.6795, allocations: 0.779 MB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-05/0.6796, allocations: 3.938 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.6796, allocations: 7.922 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.442e-05/0.6797, allocations: 19.8 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.6802, allocations: 159.5 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.6804, allocations: 131.6 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.975e-05/0.6805, allocations: 15.98 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.6807, allocations: 63.81 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.6808, allocations: 71.78 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.6808, allocations: 12 kB / 1.169 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.681, allocations: 107.8 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.6811, allocations: 27.91 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.197e-05/0.6812, allocations: 55.7 kB / 1.169 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.6815, allocations: 187.1 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.6815, allocations: 0 / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.196e-06/0.6815, allocations: 7.984 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.6815, allocations: 0 / 1.169 GB, free: 0.5898 MB / 0.8887 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.0007776/0.6823, allocations: 492.4 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.6823, allocations: 16.86 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.098e-05/0.6824, allocations: 34.75 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.6824, allocations: 8.891 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.6826, allocations: 186.3 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.6826, allocations: 8.375 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.6826, allocations: 11.94 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.6829, allocations: 97.56 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.6829, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.6829, allocations: 3.984 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.683, allocations: 8 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.6832, allocations: 63.89 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00085/0.684, allocations: 356.7 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.6842, allocations: 74.48 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.6844, allocations: 52.83 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.6844, allocations: 4 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/0.6847, allocations: 107.2 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.6847, allocations: 0 / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0005991/0.6853, allocations: 217.5 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.6853, allocations: 55.56 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.6855, allocations: 143.4 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.6855, allocations: 29.7 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.6856, allocations: 100.3 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.6856, allocations: 23.83 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.6857, allocations: 41.7 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6859, allocations: 318.8 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.686, allocations: 39.97 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.6862, allocations: 80.31 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.6864, allocations: 112.1 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6864, allocations: 0 / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003798/0.6868, allocations: 161.5 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.6869, allocations: 12 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.6869, allocations: 0 / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.6869, allocations: 0 / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.687, allocations: 27.86 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.6871, allocations: 0 / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.6872, allocations: 23.88 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.6872, allocations: 4 kB / 1.172 GB, free: 13.46 MB / 0.9044 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 0.0001141/0.6873, allocations: 125.8 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.6873, allocations: 15.94 kB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.6874, allocations: 8.719 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6874, allocations: 4.312 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6874, allocations: 4 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.6874, allocations: 0 / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/0.6881, allocations: 454.3 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6881, allocations: 0 / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.85e-05/0.6882, allocations: 19.92 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.6882, allocations: 0 / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.6882, allocations: 0 / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.6882, allocations: 4 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6882, allocations: 0 / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.6887, allocations: 267.3 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.6887, allocations: 93 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.6888, allocations: 0 / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.6889, allocations: 11.98 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.689, allocations: 7.984 kB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.689, allocations: 4 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.616e-05/0.6891, allocations: 108.9 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6891, allocations: 0 / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003129/0.6894, allocations: 47.88 kB / 1.173 GB, free: 12.21 MB / 0.9044 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.001044/0.6904, allocations: 0.8725 MB / 1.174 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.6908, allocations: 119.8 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6908, allocations: 0 / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.691, allocations: 55.97 kB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.6913, allocations: 11.98 kB / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.6934, allocations: 1.726 MB / 1.176 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.6937, allocations: 0.7001 MB / 1.177 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.858e-05/0.6938, allocations: 4 kB / 1.177 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.6939, allocations: 31.42 kB / 1.177 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.6939, allocations: 0 / 1.177 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.7178, allocations: 3.404 MB / 1.18 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/8.54, allocations: 13.39 kB / 1.18 GB, free: 5.285 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.on from file Buildings_10_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