Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_9_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.008577/0.008577, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001991/0.001991, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6581/0.6595, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002327/0.6618, allocations: 1.592 MB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.6631, allocations: 0.7767 MB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.6632, allocations: 0.9062 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.6632, allocations: 9.188 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.171e-05/0.6633, allocations: 20.72 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005677/0.6638, allocations: 144.7 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.664, allocations: 143.5 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.983e-05/0.6641, allocations: 19.25 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.6642, allocations: 59.06 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.6644, allocations: 70.16 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.6644, allocations: 11.91 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.6646, allocations: 103.1 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.6646, allocations: 41.05 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.099e-05/0.6647, allocations: 48.42 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.665, allocations: 202 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.665, allocations: 0 / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/0.665, allocations: 0 / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.665, allocations: 3.938 kB / 1.091 GB, free: 3.258 MB / 0.8575 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.0006065/0.6656, allocations: 484.8 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.6656, allocations: 9.375 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.6657, allocations: 43.34 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.6657, allocations: 10.25 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.7e-05/0.6658, allocations: 179.9 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.6659, allocations: 8.422 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.6659, allocations: 9.25 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.6661, allocations: 96.53 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.6662, allocations: 1.062 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.6662, allocations: 4.797 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.6662, allocations: 1.438 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.6664, allocations: 69.5 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008084/0.6672, allocations: 373.2 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.6674, allocations: 74.39 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.6676, allocations: 57.44 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.6676, allocations: 1 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.6678, allocations: 97.86 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.6678, allocations: 0.5625 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005681/0.6684, allocations: 217.8 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.6684, allocations: 58.02 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.6685, allocations: 144.7 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.6686, allocations: 31.44 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.6686, allocations: 94.72 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.6686, allocations: 20.98 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.6687, allocations: 32.48 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.986e-05/0.6687, allocations: 325.3 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.6689, allocations: 44.97 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.669, allocations: 74.62 kB / 1.093 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.6692, allocations: 113.1 kB / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6692, allocations: 0.6875 kB / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003374/0.6696, allocations: 156.1 kB / 1.093 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.6696, allocations: 9.75 kB / 1.093 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6696, allocations: 1.312 kB / 1.093 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.6696, allocations: 2.562 kB / 1.093 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.6698, allocations: 25.17 kB / 1.093 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.6698, allocations: 2.5 kB / 1.093 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.6699, allocations: 15.59 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.6699, allocations: 9.531 kB / 1.093 GB, free: 0.9961 MB / 0.8575 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 6.897e-05/0.67, allocations: 121.1 kB / 1.093 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.67, allocations: 13.73 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.6701, allocations: 11.92 kB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6701, allocations: 6.062 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6701, allocations: 0.5156 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6701, allocations: 0.6562 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.6707, allocations: 460.5 kB / 1.094 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.6707, allocations: 0.75 kB / 1.094 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.889e-05/0.6707, allocations: 17 kB / 1.094 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.6708, allocations: 4.656 kB / 1.094 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.6708, allocations: 8.031 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6708, allocations: 0.75 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.6708, allocations: 0 / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.6712, allocations: 264.6 kB / 1.094 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.6712, allocations: 96.02 kB / 1.094 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.6713, allocations: 2.203 kB / 1.094 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.6714, allocations: 6.422 kB / 1.094 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.6715, allocations: 10.73 kB / 1.094 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.6715, allocations: 4.812 kB / 1.094 GB, free: 188 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.363e-05/0.6715, allocations: 110.9 kB / 1.094 GB, free: 100 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6715, allocations: 0.75 kB / 1.094 GB, free: 100 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003249/0.6719, allocations: 45.47 kB / 1.095 GB, free: 92 kB / 0.8575 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.0008994/0.6728, allocations: 0.8631 MB / 1.095 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.6731, allocations: 110.4 kB / 1.095 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6732, allocations: 0 / 1.095 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.6733, allocations: 58.88 kB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.6736, allocations: 16 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.6757, allocations: 1.714 MB / 1.097 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.6759, allocations: 0.7008 MB / 1.098 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.013e-05/0.676, allocations: 4.672 kB / 1.098 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.057e-05/0.676, allocations: 32.25 kB / 1.098 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.6761, allocations: 0 / 1.098 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.6955, allocations: 3.4 MB / 1.101 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.214/7.91, allocations: 6.5 kB / 1.101 GB, free: 12.63 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.on from file Buildings_9_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