Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009253/0.009253, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.499/1.499, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.901/2.901, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003722, allocations: 13.91 kB / 0.9028 GB, free: 36.74 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3556, allocations: 159.6 MB / 1.059 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001975/0.3577, allocations: 1.221 MB / 1.06 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.3592, allocations: 0.7323 MB / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.3593, allocations: 4 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.3593, allocations: 0 / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.426e-05/0.3594, allocations: 15.86 kB / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007161/0.3601, allocations: 103.8 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.3603, allocations: 71.78 kB / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3604, allocations: 4 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.3606, allocations: 35.89 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.913e-05/0.3607, allocations: 35.84 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.3607, allocations: 4 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.361, allocations: 91.84 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.361, allocations: 15.92 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.423e-05/0.3611, allocations: 57.55 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.3615, allocations: 131.9 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3615, allocations: 4 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3615, allocations: 0 / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3615, allocations: 0 / 1.061 GB, free: 2.984 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006978/0.3622, allocations: 409.1 kB / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3623, allocations: 8.031 kB / 1.062 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.3623, allocations: 8.844 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.3625, allocations: 176.2 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.3625, allocations: 8.375 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.3626, allocations: 384 / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.3628, allocations: 77.97 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3628, allocations: 4 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.3628, allocations: 0 / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3628, allocations: 3.984 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.363, allocations: 39.98 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006589/0.3637, allocations: 332.6 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.3638, allocations: 46.56 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.174e-05/0.3639, allocations: 36.97 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.364, allocations: 7.938 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.3642, allocations: 75.38 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.3642, allocations: 0 / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004318/0.3646, allocations: 149.6 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.3647, allocations: 55.47 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3648, allocations: 125.7 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.3648, allocations: 33.7 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.3649, allocations: 84.14 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.3649, allocations: 23.73 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.3649, allocations: 17.72 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3651, allocations: 322.8 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.442e-05/0.3652, allocations: 31.98 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.455e-05/0.3653, allocations: 50.55 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.3654, allocations: 82.8 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3655, allocations: 0 / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002516/0.3657, allocations: 117.5 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3657, allocations: 8 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3657, allocations: 4.062 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3658, allocations: 0 / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.504e-05/0.3659, allocations: 15.98 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3659, allocations: 3.938 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.76e-05/0.366, allocations: 8 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.366, allocations: 7.984 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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 0.0001134/0.3661, allocations: 117.8 kB / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.3661, allocations: 11.91 kB / 1.064 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.3662, allocations: 12.38 kB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3662, allocations: 3.938 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3662, allocations: 0 / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3662, allocations: 3.938 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/0.3668, allocations: 390.3 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3668, allocations: 4 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.3668, allocations: 7.984 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3669, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3669, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3669, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.3669, allocations: 7.938 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.3672, allocations: 223.4 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.3672, allocations: 85.02 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3673, allocations: 0 / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.782e-05/0.3674, allocations: 11.92 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.3674, allocations: 15.92 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.3674, allocations: 0 / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.378e-05/0.3675, allocations: 95.27 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3675, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003065/0.3678, allocations: 43.98 kB / 1.064 GB, free: 15.3 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003582/0.3682, allocations: 151.1 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.3685, allocations: 83.91 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3685, allocations: 0 / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.881e-05/0.3686, allocations: 39.97 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.3688, allocations: 4 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.3693, allocations: 213.7 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.3697, allocations: 0.6887 MB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.3697, allocations: 0 / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.3697, allocations: 11.44 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3697, allocations: 0 / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of Templates: time 0.004244/0.374, allocations: 1.362 MB / 1.067 GB, free: 12.7 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0