Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.004041/0.004041, allocations: 99.81 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.001039/0.001039, allocations: 195.1 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.59/2.59, allocations: 469.4 MB / 0.7422 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 55.91 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6431/0.6443, allocations: 159.1 MB / 1.22 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.00247/0.6468, allocations: 1.511 MB / 1.221 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.648, allocations: 0.7254 MB / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.689e-05/0.6481, allocations: 7.938 kB / 1.222 GB, free: 56 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.6481, allocations: 3.938 kB / 1.222 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.933e-05/0.6482, allocations: 11.86 kB / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.6487, allocations: 119.6 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.6488, allocations: 75.78 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.499e-05/0.6489, allocations: 23.92 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.193e-05/0.649, allocations: 27.92 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.198e-05/0.649, allocations: 43.83 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.6491, allocations: 8 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.6493, allocations: 95.84 kB / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.6493, allocations: 23.84 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.6493, allocations: 31.86 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.6496, allocations: 138.3 kB / 1.222 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6496, allocations: 0 / 1.222 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6496, allocations: 0 / 1.222 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.6496, allocations: 0 / 1.222 GB, free: 15.47 MB / 0.9512 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.0005587/0.6502, allocations: 421.7 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.6502, allocations: 8.625 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.6502, allocations: 38.73 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.6503, allocations: 8.891 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.845e-05/0.6504, allocations: 176.3 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.6504, allocations: 8.312 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.6504, allocations: 8.375 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.6506, allocations: 69.78 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.6506, allocations: 0 / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.6507, allocations: 4 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.6507, allocations: 0 / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.6508, allocations: 35.97 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.6514, allocations: 320.6 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.6515, allocations: 50.56 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.308e-05/0.6516, allocations: 28.97 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.6516, allocations: 4 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.6518, allocations: 79.44 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 2.945e-06/0.6518, allocations: 3.984 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003903/0.6522, allocations: 145.5 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.6523, allocations: 51.41 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.059e-05/0.6524, allocations: 125.8 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.6524, allocations: 25.7 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.6524, allocations: 92.14 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.6525, allocations: 15.89 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.6525, allocations: 29.7 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.6526, allocations: 322.8 kB / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.371e-05/0.6527, allocations: 23.98 kB / 1.224 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.565e-05/0.6528, allocations: 54.55 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.653, allocations: 78.47 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.653, allocations: 0 / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002412/0.6532, allocations: 109.5 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.6533, allocations: 8 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.6533, allocations: 3.984 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.6533, allocations: 0 / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.716e-05/0.6534, allocations: 11.94 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.6534, allocations: 7.938 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.6535, allocations: 19.98 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.6535, allocations: 0 / 1.225 GB, free: 12.87 MB / 0.9512 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.383e-05/0.6536, allocations: 121.8 kB / 1.225 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.6536, allocations: 3.953 kB / 1.225 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.6536, allocations: 16.36 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.6537, allocations: 0 / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6537, allocations: 0 / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6537, allocations: 4 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.6541, allocations: 390.8 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6541, allocations: 0 / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.6542, allocations: 4 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.6542, allocations: 4 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.6542, allocations: 0 / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.6542, allocations: 7.922 kB / 1.225 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6542, allocations: 0 / 1.225 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.6545, allocations: 211.5 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.6545, allocations: 81.06 kB / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.6546, allocations: 4 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.736e-05/0.6547, allocations: 11.92 kB / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.6547, allocations: 4 kB / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.6547, allocations: 3.984 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.6548, allocations: 95.27 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6548, allocations: 0 / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002957/0.6551, allocations: 47.81 kB / 1.226 GB, free: 11.77 MB / 0.9512 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.0007201/0.6558, allocations: 0.808 MB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.656, allocations: 71.89 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6561, allocations: 0 / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.876e-05/0.6562, allocations: 39.91 kB / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.6564, allocations: 15.92 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.6579, allocations: 1.485 MB / 1.228 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.6581, allocations: 0.6885 MB / 1.229 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.595e-05/0.6582, allocations: 4 kB / 1.229 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.6582, allocations: 30.55 kB / 1.229 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of SimCode: time 1.773e-06/0.6582, allocations: 0 / 1.229 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.6756, allocations: 2.651 MB / 1.231 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/8.126, allocations: 3.938 kB / 1.231 GB, free: 6.008 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_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_Herkel2008WindowsTiltedOpen.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv. Warning: Get data of variable win.on from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_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