Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.001294/0.001294, allocations: 108 kB / 15.61 MB, free: 148 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.001309/0.001309, allocations: 194.5 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.726/2.726, allocations: 469.4 MB / 0.742 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 68.67 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2526, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002651/0.2552, allocations: 1.499 MB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.2565, allocations: 0.73 MB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.2565, allocations: 7.875 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.2566, allocations: 3.938 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.2566, allocations: 11.88 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.2572, allocations: 123.6 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.2573, allocations: 79.81 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.14e-05/0.2574, allocations: 4 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.667e-05/0.2575, allocations: 31.92 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.592e-05/0.2575, allocations: 47.81 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.2576, allocations: 4 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.2578, allocations: 99.84 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.2578, allocations: 19.92 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.2578, allocations: 27.86 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.2581, allocations: 139.9 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2581, allocations: 0 / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.926e-06/0.2581, allocations: 0 / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2581, allocations: 3.938 kB / 1.066 GB, free: 11.63 MB / 0.8262 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.0005786/0.2587, allocations: 421 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2587, allocations: 8.031 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.2588, allocations: 42.75 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.2588, allocations: 8.844 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2589, allocations: 172.2 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.259, allocations: 4.359 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.259, allocations: 8.375 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.2592, allocations: 69.78 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2592, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.2592, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2592, allocations: 3.938 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.2594, allocations: 43.91 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.26, allocations: 312.8 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.2601, allocations: 42.56 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/0.2602, allocations: 40.97 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.2602, allocations: 4.062 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.2604, allocations: 83.31 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.2605, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004009/0.2609, allocations: 133.5 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.2609, allocations: 63.41 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.261, allocations: 121.8 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.261, allocations: 25.7 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.2611, allocations: 96.03 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.2611, allocations: 19.73 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.2612, allocations: 29.7 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.2613, allocations: 326.8 kB / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.537e-05/0.2614, allocations: 27.86 kB / 1.068 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.061e-05/0.2615, allocations: 50.56 kB / 1.068 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.2617, allocations: 74.84 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2617, allocations: 0 / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002486/0.2619, allocations: 113.6 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.262, allocations: 4 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.262, allocations: 0 / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.262, allocations: 8 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.2621, allocations: 15.92 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2621, allocations: 3.938 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.2622, allocations: 11.91 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.2622, allocations: 4 kB / 1.069 GB, free: 9.027 MB / 0.8262 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.651e-05/0.2623, allocations: 126.4 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.2623, allocations: 7.906 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.2624, allocations: 8.375 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2624, allocations: 0 / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2624, allocations: 4 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2624, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.2629, allocations: 382.3 kB / 1.069 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2629, allocations: 4 kB / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.2629, allocations: 7.984 kB / 1.069 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2629, allocations: 0 / 1.069 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2629, allocations: 4 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.263, allocations: 3.938 kB / 1.069 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.263, allocations: 0 / 1.069 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.2632, allocations: 211.3 kB / 1.069 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.2633, allocations: 89 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.2633, allocations: 4 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.2634, allocations: 7.938 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.2635, allocations: 7.984 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.2635, allocations: 4 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.733e-05/0.2635, allocations: 91.27 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2635, allocations: 0 / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002964/0.2638, allocations: 36 kB / 1.07 GB, free: 7.949 MB / 0.8262 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.0007788/0.2646, allocations: 0.8083 MB / 1.07 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.2649, allocations: 83.94 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2649, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.756e-05/0.265, allocations: 31.98 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.2653, allocations: 11.94 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.2669, allocations: 1.489 MB / 1.072 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.2671, allocations: 0.6922 MB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.646e-05/0.2672, allocations: 4 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.2672, allocations: 23.42 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.2672, allocations: 0 / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.2851, allocations: 2.615 MB / 1.075 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/7.484, allocations: 8.812 kB / 1.075 GB, free: 2.191 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv. Warning: Get data of variable win.on from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_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