Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 118.1 kB / 16.42 MB, free: 6.012 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.001308/0.001308, allocations: 183.4 kB / 17.35 MB, free: 5.629 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.35/1.35, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.56/2.56, allocations: 461.9 MB / 0.7355 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.89 kB / 1.055 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7771/0.7785, allocations: 157.4 MB / 1.208 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002764/0.7813, allocations: 1.505 MB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.7826, allocations: 0.7245 MB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.7826, allocations: 0 / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.7827, allocations: 3.938 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.743e-05/0.7828, allocations: 19.86 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005584/0.7833, allocations: 119.6 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.7835, allocations: 79.77 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.7836, allocations: 11.95 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.425e-05/0.7837, allocations: 47.83 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.688e-05/0.7837, allocations: 35.84 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.7838, allocations: 8 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.784, allocations: 95.84 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.784, allocations: 19.97 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.7841, allocations: 35.78 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.7843, allocations: 139.3 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.7843, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7843, allocations: 4 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.7843, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 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.0006285/0.785, allocations: 415 kB / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.785, allocations: 16.03 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.7851, allocations: 4.844 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.7852, allocations: 172.3 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.7852, allocations: 4.375 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.7852, allocations: 4.375 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.7854, allocations: 77.91 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.7854, allocations: 0 / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.7855, allocations: 0 / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.7855, allocations: 0 / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.7856, allocations: 43.95 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.7862, allocations: 312.7 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.7863, allocations: 54.48 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.008e-05/0.7864, allocations: 28.97 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.7865, allocations: 8 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.7866, allocations: 75.38 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.7867, allocations: 0 / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003971/0.7871, allocations: 141.5 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.7871, allocations: 59.34 kB / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.7872, allocations: 129.7 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.7872, allocations: 25.7 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.7873, allocations: 92.08 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.7873, allocations: 15.81 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.7874, allocations: 29.7 kB / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.7875, allocations: 322.8 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-05/0.7876, allocations: 23.98 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.47e-05/0.7877, allocations: 55.84 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.7879, allocations: 79.36 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7879, allocations: 0 / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002441/0.7881, allocations: 121.5 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.7881, allocations: 8 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.7882, allocations: 0 / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7882, allocations: 4 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.7883, allocations: 19.92 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.7883, allocations: 0 / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.7884, allocations: 7.938 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.7884, allocations: 4 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.34e-05/0.7885, allocations: 125.8 kB / 1.214 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.7885, allocations: 7.953 kB / 1.214 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.7885, allocations: 12.36 kB / 1.214 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.7886, allocations: 0 / 1.214 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7886, allocations: 4 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.7886, allocations: 81.02 kB / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.7886, allocations: 0 / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.7887, allocations: 19.8 kB / 1.214 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.7888, allocations: 8 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002931/0.789, allocations: 192.9 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002883/0.7893, allocations: 274.8 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.396e-05/0.7895, allocations: 31.92 kB / 1.214 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.234e-05/0.7895, allocations: 99.42 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of Backend: time 2.21e-07/0.7895, allocations: 0 / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006277/0.7902, allocations: 192.2 kB / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004735/0.7906, allocations: 0.6214 MB / 1.215 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of Templates: time 0.004001/0.7946, allocations: 1.502 MB / 1.216 GB, free: 5.059 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0