Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 102 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.874/2.874, allocations: 476.7 MB / 0.7611 GB, free: 15.85 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 67.89 kB / 1.104 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9696/0.9717, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002623/0.9743, allocations: 1.501 MB / 1.27 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.9755, allocations: 0.74 MB / 1.271 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.9755, allocations: 4.75 kB / 1.271 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.9756, allocations: 5.156 kB / 1.271 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.9756, allocations: 10.47 kB / 1.271 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.9761, allocations: 125.2 kB / 1.271 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.9763, allocations: 76.08 kB / 1.271 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.378e-05/0.9764, allocations: 17.62 kB / 1.271 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.352e-05/0.9764, allocations: 35.25 kB / 1.271 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.87e-05/0.9765, allocations: 40.83 kB / 1.271 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.9765, allocations: 6.469 kB / 1.271 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.9767, allocations: 108.8 kB / 1.271 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.9768, allocations: 15.38 kB / 1.271 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.9768, allocations: 35.69 kB / 1.271 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.9771, allocations: 144 kB / 1.272 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9771, allocations: 0.625 kB / 1.272 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9771, allocations: 0 / 1.272 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.9771, allocations: 0 / 1.272 GB, free: 5.941 MB / 0.9981 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.0005722/0.9776, allocations: 418.4 kB / 1.272 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.9777, allocations: 9.844 kB / 1.272 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.9777, allocations: 37.72 kB / 1.272 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.9778, allocations: 9.062 kB / 1.272 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.436e-05/0.9778, allocations: 173.6 kB / 1.272 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.9779, allocations: 6.781 kB / 1.272 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.9779, allocations: 4.234 kB / 1.272 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.9781, allocations: 72.72 kB / 1.272 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.9781, allocations: 5.062 kB / 1.272 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.9781, allocations: 0.6875 kB / 1.272 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.9781, allocations: 0.625 kB / 1.272 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.9782, allocations: 35.95 kB / 1.272 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.9788, allocations: 322.2 kB / 1.273 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.9789, allocations: 48.27 kB / 1.273 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.008e-05/0.979, allocations: 30.25 kB / 1.273 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.979, allocations: 6.25 kB / 1.273 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.9792, allocations: 88.41 kB / 1.273 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.9792, allocations: 0 / 1.273 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003825/0.9796, allocations: 138.2 kB / 1.273 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.9796, allocations: 53.77 kB / 1.273 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.9797, allocations: 122.5 kB / 1.273 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.9797, allocations: 27.2 kB / 1.273 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.9797, allocations: 100.6 kB / 1.273 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.9798, allocations: 11.98 kB / 1.273 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.9798, allocations: 29.69 kB / 1.273 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.4e-05/0.9798, allocations: 323 kB / 1.273 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.98, allocations: 27.64 kB / 1.274 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-05/0.9801, allocations: 45.77 kB / 1.274 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.9802, allocations: 77.22 kB / 1.274 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9802, allocations: 3.938 kB / 1.274 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002225/0.9804, allocations: 108.3 kB / 1.274 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.9805, allocations: 5.875 kB / 1.274 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.9805, allocations: 4.844 kB / 1.274 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.9805, allocations: 5.656 kB / 1.274 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.9806, allocations: 15.98 kB / 1.274 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.9806, allocations: 0.9688 kB / 1.274 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.9806, allocations: 10.5 kB / 1.274 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.9807, allocations: 3.125 kB / 1.274 GB, free: 3.91 MB / 0.9981 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 6.305e-05/0.9807, allocations: 119.3 kB / 1.274 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.9807, allocations: 7.938 kB / 1.274 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.9808, allocations: 13.84 kB / 1.274 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.9808, allocations: 10.45 kB / 1.274 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.9808, allocations: 0 / 1.274 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.9808, allocations: 0.6562 kB / 1.274 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003796/0.9812, allocations: 382.5 kB / 1.274 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.9812, allocations: 0 / 1.274 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.9812, allocations: 6.297 kB / 1.274 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.9812, allocations: 0.5938 kB / 1.274 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.9812, allocations: 3.422 kB / 1.274 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.9812, allocations: 4.469 kB / 1.274 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.9812, allocations: 8.875 kB / 1.274 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.9815, allocations: 199.9 kB / 1.275 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.9815, allocations: 83.03 kB / 1.275 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.9815, allocations: 5.094 kB / 1.275 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.9816, allocations: 8.406 kB / 1.275 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.9816, allocations: 4.234 kB / 1.275 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.9816, allocations: 12.06 kB / 1.275 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.787e-05/0.9817, allocations: 91.38 kB / 1.275 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9817, allocations: 1.094 kB / 1.275 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003058/0.982, allocations: 42.31 kB / 1.275 GB, free: 3.055 MB / 0.9981 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.0006524/0.9826, allocations: 0.8147 MB / 1.276 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002374/0.9829, allocations: 70.11 kB / 1.276 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9829, allocations: 0 / 1.276 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.147e-05/0.983, allocations: 35.47 kB / 1.276 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.9832, allocations: 18.77 kB / 1.276 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.9847, allocations: 1.49 MB / 1.277 GB, free: 16.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.985, allocations: 0.6984 MB / 1.278 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.842e-05/0.985, allocations: 2.812 kB / 1.278 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.9851, allocations: 23.91 kB / 1.278 GB, free: 16.26 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.9851, allocations: 4.625 kB / 1.278 GB, free: 16.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/1.013, allocations: 2.667 MB / 1.28 GB, free: 15.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.244/9.257, allocations: 9.016 kB / 1.28 GB, free: 15.76 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed [Calling sys.exit(0), Time elapsed: 15.574029785115272]