Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00172/0.00172, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.935/2.935, allocations: 461.8 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 62.84 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3514, allocations: 157.4 MB / 1.052 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002591/0.354, allocations: 1.564 MB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.3553, allocations: 0.7672 MB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.3554, allocations: 4 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/0.3554, allocations: 11.92 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.3555, allocations: 7.922 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.356, allocations: 115.8 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.3561, allocations: 87.77 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.735e-05/0.3562, allocations: 23.91 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.817e-05/0.3563, allocations: 43.91 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.916e-05/0.3564, allocations: 47.81 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.3564, allocations: 4 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.3566, allocations: 95.84 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.343e-05/0.3567, allocations: 23.91 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.3567, allocations: 39.77 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.357, allocations: 159.9 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.357, allocations: 0 / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.01e-07/0.357, allocations: 0 / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.357, allocations: 0 / 1.055 GB, free: 5.824 MB / 0.8106 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.0007068/0.3577, allocations: 467.7 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3577, allocations: 8.031 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.3578, allocations: 8.844 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.3579, allocations: 180.2 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.3579, allocations: 8.359 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.358, allocations: 4.375 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.3582, allocations: 93.94 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3583, allocations: 0 / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.3583, allocations: 0 / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3583, allocations: 4 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.3585, allocations: 47.91 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007898/0.3593, allocations: 348.6 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.3595, allocations: 66.53 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.3596, allocations: 44.83 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3596, allocations: 0 / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.3599, allocations: 99.38 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.3599, allocations: 0 / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0006461/0.3606, allocations: 185.7 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.3606, allocations: 63.39 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.3607, allocations: 121.1 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3608, allocations: 33.7 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.3609, allocations: 92.12 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.3609, allocations: 19.72 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.3609, allocations: 29.7 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3611, allocations: 326.8 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.257e-05/0.3612, allocations: 27.98 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.3613, allocations: 68.2 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.3615, allocations: 92.2 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3615, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002723/0.3618, allocations: 137.4 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3618, allocations: 7.938 kB / 1.057 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.3618, allocations: 4 kB / 1.057 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3619, allocations: 0 / 1.057 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.362, allocations: 19.98 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.362, allocations: 0 / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.189e-05/0.3621, allocations: 11.92 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.3621, allocations: 7.984 kB / 1.058 GB, free: 2.988 MB / 0.8106 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.0001299/0.3623, allocations: 139.4 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.3623, allocations: 7.906 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.3623, allocations: 8.359 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3623, allocations: 0 / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3623, allocations: 0 / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3624, allocations: 4 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006475/0.363, allocations: 426.4 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.363, allocations: 0 / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.3631, allocations: 11.92 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3631, allocations: 0 / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.3631, allocations: 4 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3631, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3631, allocations: 7.938 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.3636, allocations: 251.4 kB / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.3636, allocations: 81.02 kB / 1.058 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.3637, allocations: 4 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.3638, allocations: 7.984 kB / 1.058 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.3638, allocations: 3.938 kB / 1.058 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.3639, allocations: 11.98 kB / 1.058 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.67e-05/0.3639, allocations: 95.27 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3639, allocations: 0 / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003179/0.3643, allocations: 43.94 kB / 1.059 GB, free: 1.805 MB / 0.8106 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,occ.y,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 (8): * Single equations (assignments): 4 * 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.0003853/0.3647, allocations: 175.3 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002961/0.365, allocations: 88.55 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.365, allocations: 4 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.3651, allocations: 43.97 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.3654, allocations: 15.98 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.3659, allocations: 222.9 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.3662, allocations: 0.6926 MB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.3662, allocations: 4.094 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.3662, allocations: 11.42 kB / 1.06 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3662, allocations: 0 / 1.06 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of Templates: time 0.00435/0.3706, allocations: 1.663 MB / 1.061 GB, free: 14.86 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0