Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001075/0.001075, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.324/1.324, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.606/2.606, allocations: 469.4 MB / 0.7428 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.89 kB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7048/0.7061, allocations: 159.1 MB / 1.221 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002644/0.7088, allocations: 1.511 MB / 1.222 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.7101, allocations: 0.7643 MB / 1.223 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.7101, allocations: 0 / 1.223 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.7102, allocations: 3.938 kB / 1.223 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.071e-05/0.7103, allocations: 7.875 kB / 1.223 GB, free: 68 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.7109, allocations: 135.5 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.711, allocations: 111.7 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.7111, allocations: 11.94 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.637e-05/0.7112, allocations: 43.89 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.247e-05/0.7113, allocations: 55.81 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.7114, allocations: 8 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.7116, allocations: 99.84 kB / 1.224 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.7116, allocations: 31.89 kB / 1.224 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/0.7117, allocations: 35.8 kB / 1.224 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.7119, allocations: 175.3 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7119, allocations: 0 / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.142e-06/0.712, allocations: 0 / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.712, allocations: 0 / 1.224 GB, free: 15.38 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006398/0.7126, allocations: 452.6 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.7127, allocations: 12.03 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.7127, allocations: 8.844 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.7129, allocations: 183.5 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.7129, allocations: 4.375 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.7129, allocations: 12.38 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.7132, allocations: 85.94 kB / 1.225 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.7132, allocations: 0 / 1.225 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.7132, allocations: 0 / 1.225 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.7132, allocations: 3.938 kB / 1.225 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.7134, allocations: 43.97 kB / 1.225 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00074/0.7142, allocations: 344.7 kB / 1.225 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.7143, allocations: 62.47 kB / 1.225 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.7145, allocations: 40.84 kB / 1.225 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.7145, allocations: 4 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.7147, allocations: 103.4 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.7147, allocations: 4 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0005403/0.7153, allocations: 173.5 kB / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.7153, allocations: 55.41 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.816e-05/0.7154, allocations: 137.7 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.7155, allocations: 29.7 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.7156, allocations: 92.3 kB / 1.226 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.7156, allocations: 23.72 kB / 1.226 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.7157, allocations: 33.7 kB / 1.226 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.7158, allocations: 318.8 kB / 1.226 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.868e-05/0.7159, allocations: 31.97 kB / 1.226 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.716, allocations: 64.22 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.7162, allocations: 92.2 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7162, allocations: 4 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002669/0.7165, allocations: 133.5 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.7165, allocations: 8 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.7165, allocations: 0 / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.7165, allocations: 4 kB / 1.226 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.7166, allocations: 15.92 kB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.7166, allocations: 4 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.88e-05/0.7167, allocations: 11.91 kB / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.7167, allocations: 8.094 kB / 1.226 GB, free: 12.56 MB / 0.9512 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,occ.y,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 (13): * Single equations (assignments): 13 * 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 0.0001411/0.7169, allocations: 131.9 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.7169, allocations: 7.906 kB / 1.226 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.7169, allocations: 12.38 kB / 1.226 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.717, allocations: 48 / 1.226 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.717, allocations: 3.984 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.717, allocations: 77.11 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.717, allocations: 7.984 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/0.7171, allocations: 15.94 kB / 1.227 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.7172, allocations: 7.922 kB / 1.227 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003921/0.7176, allocations: 212.9 kB / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004088/0.718, allocations: 322.6 kB / 1.227 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001264/0.7181, allocations: 43.97 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.934e-05/0.7182, allocations: 95.27 kB / 1.227 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of Backend: time 4.71e-07/0.7182, allocations: 0 / 1.227 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006241/0.7188, allocations: 194.8 kB / 1.227 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005069/0.7193, allocations: 0.6216 MB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of Templates: time 0.004175/0.7235, allocations: 1.729 MB / 1.23 GB, free: 9.02 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0