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.0008809/0.0008808, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.007549/0.007549, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.46/1.46, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.897/2.897, allocations: 462.6 MB / 0.7364 GB, free: 320 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004007, allocations: 17.09 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3681, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001754/0.3699, allocations: 1.233 MB / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3712, allocations: 0.7518 MB / 1.061 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.882e-05/0.3713, allocations: 3.938 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.139e-05/0.3713, allocations: 0 / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.517e-05/0.3714, allocations: 19.8 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005553/0.372, allocations: 119.8 kB / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.3721, allocations: 91.81 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.396e-05/0.3722, allocations: 7.984 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.947e-05/0.3723, allocations: 47.78 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.796e-05/0.3724, allocations: 43.88 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.3724, allocations: 7.938 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.3726, allocations: 91.91 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.3727, allocations: 19.97 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.022e-05/0.3728, allocations: 69.47 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.373, allocations: 155.8 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.373, allocations: 0 / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.373, allocations: 0 / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3731, allocations: 4 kB / 1.061 GB, free: 2.828 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.0006173/0.3737, allocations: 442.7 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.3737, allocations: 12.03 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.3738, allocations: 8.844 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.3739, allocations: 176.2 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.3739, allocations: 8.375 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.374, allocations: 4.375 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.3742, allocations: 93.88 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.3742, allocations: 0 / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3742, allocations: 4 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3743, allocations: 3.984 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.3744, allocations: 59.89 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007557/0.3752, allocations: 348.6 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.3754, allocations: 62.55 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.3755, allocations: 44.83 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.3755, allocations: 0 / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.3758, allocations: 99.36 kB / 1.063 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.3758, allocations: 0 / 1.063 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005368/0.3763, allocations: 193.7 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.3764, allocations: 67.33 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3765, allocations: 125 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.3765, allocations: 29.7 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.3766, allocations: 92.12 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.3766, allocations: 15.81 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.3767, allocations: 21.7 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3768, allocations: 322.8 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.3769, allocations: 35.97 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.3771, allocations: 64.28 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.3773, allocations: 104.2 kB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3773, allocations: 0 / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002894/0.3776, allocations: 141.5 kB / 1.064 GB, free: 40 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3776, allocations: 5.562 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3776, allocations: 4 kB / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3776, allocations: 0 / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3778, allocations: 19.92 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3778, allocations: 0 / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.765e-05/0.3779, allocations: 16.02 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.3779, allocations: 4 kB / 1.064 GB, free: 15.99 MB / 0.8262 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.0001165/0.378, allocations: 129.8 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.3781, allocations: 4 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.3781, allocations: 12.38 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3781, allocations: 0 / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3781, allocations: 0 / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3781, allocations: 0 / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.3787, allocations: 442.3 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3787, allocations: 7.984 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/0.3788, allocations: 4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3788, allocations: 3.938 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3788, allocations: 0 / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3788, allocations: 3.984 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3788, allocations: 3.938 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.3792, allocations: 255.3 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.3793, allocations: 85.02 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.3793, allocations: 0 / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.3794, allocations: 15.98 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.3795, allocations: 7.938 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.3795, allocations: 7.984 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.713e-05/0.3796, allocations: 95.27 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3796, allocations: 0 / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003344/0.3799, allocations: 43.94 kB / 1.065 GB, free: 14.79 MB / 0.8262 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.0004135/0.3803, allocations: 167.4 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000292/0.3806, allocations: 95.88 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3807, allocations: 0 / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.3808, allocations: 51.91 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.3811, allocations: 17.72 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/0.3816, allocations: 228.9 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.3818, allocations: 0.6926 MB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.181e-05/0.3819, allocations: 4 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.3819, allocations: 11.44 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.3819, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.004811/0.3867, allocations: 1.634 MB / 1.068 GB, free: 11.86 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