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.001705/0.001705, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001951/0.001951, allocations: 197.9 kB / 16.14 MB, free: 6.656 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.857/2.857, allocations: 461.8 MB / 0.7342 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 64.14 kB / 0.8984 GB, free: 37.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3532, allocations: 157.4 MB / 1.052 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003116/0.3564, allocations: 1.58 MB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3579, allocations: 0.7749 MB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.3579, allocations: 4 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.184e-05/0.358, allocations: 3.938 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.966e-05/0.3581, allocations: 7.922 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.3587, allocations: 123.7 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.3588, allocations: 87.77 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.359, allocations: 12 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.3591, allocations: 43.83 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.155e-05/0.3592, allocations: 51.8 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.3592, allocations: 8 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.3594, allocations: 95.84 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.3595, allocations: 15.98 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.3595, allocations: 39.78 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.3598, allocations: 167.8 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3598, allocations: 0 / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3599, allocations: 0 / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3599, allocations: 0 / 1.055 GB, free: 5.855 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.000871/0.3607, allocations: 446.7 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.526e-05/0.3608, allocations: 12.03 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.813e-05/0.3609, allocations: 8.844 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.3611, allocations: 184.2 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.3611, allocations: 4.375 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.3612, allocations: 8.375 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.3614, allocations: 93.88 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.3614, allocations: 0 / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.3615, allocations: 0 / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3615, allocations: 0 / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.3617, allocations: 47.91 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000864/0.3625, allocations: 352.6 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.3627, allocations: 54.55 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.3629, allocations: 44.84 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.3629, allocations: 4 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003056/0.3632, allocations: 103.3 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.3632, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005724/0.3638, allocations: 177.7 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.3638, allocations: 59.39 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.364, allocations: 125.8 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.364, allocations: 29.7 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.3641, allocations: 92.14 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.3641, allocations: 19.7 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.289e-05/0.3642, allocations: 33.7 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3643, allocations: 318.8 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-05/0.3644, allocations: 31.97 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3645, allocations: 67.22 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.3647, allocations: 100.2 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3647, allocations: 4 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002824/0.365, allocations: 129.4 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3651, allocations: 8 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3651, allocations: 0 / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3651, allocations: 4 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.3652, allocations: 11.98 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3652, allocations: 4.094 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.651e-05/0.3653, allocations: 11.94 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.3653, allocations: 8 kB / 1.058 GB, free: 3.047 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.0001169/0.3655, allocations: 127.1 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.3655, allocations: 7.906 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.3655, allocations: 12.38 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3655, allocations: 4.031 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3655, allocations: 0 / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3656, allocations: 7.938 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000588/0.3661, allocations: 422.4 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3662, allocations: 0 / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.3662, allocations: 11.92 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3662, allocations: 0 / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.3662, allocations: 0 / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.3662, allocations: 4 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3663, allocations: 3.938 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.3667, allocations: 243.8 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.3667, allocations: 85.02 kB / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.3668, allocations: 4 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.3669, allocations: 4 kB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.3669, allocations: 11.92 kB / 1.058 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3669, allocations: 7.984 kB / 1.058 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.525e-05/0.367, allocations: 99.27 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.8e-07/0.367, allocations: 3.938 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003092/0.3673, allocations: 43.94 kB / 1.059 GB, free: 1.867 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.000381/0.3677, allocations: 165.9 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002781/0.368, allocations: 95.88 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.368, allocations: 0 / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.3682, allocations: 43.97 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.3684, allocations: 15.98 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.3689, allocations: 221.9 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.3692, allocations: 0.6887 MB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.364e-05/0.3693, allocations: 4 kB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.3693, allocations: 19.42 kB / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3693, allocations: 0 / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of Templates: time 0.004555/0.3739, allocations: 1.642 MB / 1.061 GB, free: 14.95 MB / 0.8262 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/jenkins/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