Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_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.001814/0.001814, 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.00198/0.00198, allocations: 197.4 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.723/2.723, allocations: 469.4 MB / 0.742 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002605/0.002605, allocations: 62.97 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3341, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002909/0.3371, allocations: 1.489 MB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.3385, allocations: 0.7339 MB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.3386, allocations: 0 / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.3387, allocations: 3.938 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.439e-05/0.3387, allocations: 19.8 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006053/0.3393, allocations: 119.6 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.3395, allocations: 83.75 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3396, allocations: 15.98 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3397, allocations: 31.91 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.3398, allocations: 39.83 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.3398, allocations: 8 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.3401, allocations: 95.84 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.3401, allocations: 23.92 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.3402, allocations: 27.86 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.3404, allocations: 135.9 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3405, allocations: 0 / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3405, allocations: 0 / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.3405, allocations: 4 kB / 1.066 GB, free: 11.73 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.0006815/0.3412, allocations: 417 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3412, allocations: 12.03 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.56e-05/0.3413, allocations: 38.75 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.3413, allocations: 8.844 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3415, allocations: 184.1 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.3415, allocations: 4.375 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.3415, allocations: 4.375 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.3417, allocations: 73.77 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.3417, allocations: 0 / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3418, allocations: 4 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3418, allocations: 3.938 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.3419, allocations: 43.97 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000637/0.3426, allocations: 308.7 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.3427, allocations: 46.56 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.012e-05/0.3428, allocations: 44.95 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3428, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.343, allocations: 79.44 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.3431, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003859/0.3434, allocations: 141.5 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.3435, allocations: 51.41 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.3436, allocations: 129.8 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.3436, allocations: 29.7 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.3437, allocations: 92.05 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.3437, allocations: 19.75 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.3438, allocations: 25.7 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3439, allocations: 322.8 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.507e-05/0.344, allocations: 27.98 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.676e-05/0.3441, allocations: 50.55 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.3443, allocations: 78.42 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3443, allocations: 0 / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002434/0.3445, allocations: 113.6 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3445, allocations: 4 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3446, allocations: 4 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3446, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3447, allocations: 15.92 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3447, allocations: 3.938 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.749e-05/0.3448, allocations: 7.906 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.3448, allocations: 7.984 kB / 1.069 GB, free: 9.121 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 8.428e-05/0.3449, allocations: 121.8 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.3449, allocations: 7.906 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/0.3449, allocations: 8.375 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3449, allocations: 4 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3449, allocations: 0 / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3449, allocations: 0 / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.3454, allocations: 386.3 kB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3454, allocations: 0 / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.3455, allocations: 11.98 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3455, allocations: 0 / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.3455, allocations: 4 kB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3455, allocations: 7.938 kB / 1.069 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3455, allocations: 0 / 1.069 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.3458, allocations: 211.8 kB / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.3458, allocations: 85.02 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.3459, allocations: 4 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.207e-05/0.346, allocations: 11.92 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.346, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.346, allocations: 7.984 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.748e-05/0.3461, allocations: 95.27 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3461, allocations: 0 / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003091/0.3464, allocations: 35.98 kB / 1.07 GB, free: 8.039 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.0007914/0.3472, allocations: 0.8069 MB / 1.07 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002384/0.3475, allocations: 75.89 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3475, allocations: 4.125 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.722e-05/0.3476, allocations: 35.92 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.3478, allocations: 11.92 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.3495, allocations: 1.486 MB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.3498, allocations: 0.6922 MB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.144e-05/0.3498, allocations: 4 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.3499, allocations: 23.42 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3499, allocations: 0 / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.369, allocations: 2.61 MB / 1.075 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.513, allocations: 9.938 kB / 1.075 GB, free: 2.281 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_latest_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