Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001135/0.001135, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.936/2.936, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003928, allocations: 9.297 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3632, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001919/0.3651, allocations: 1.21 MB / 1.059 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.3665, allocations: 0.6782 MB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.3666, allocations: 0 / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.3666, allocations: 7.922 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.3667, allocations: 7.922 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.3673, allocations: 91.77 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.3674, allocations: 71.77 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.203e-05/0.3675, allocations: 8 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.3676, allocations: 39.91 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.3677, allocations: 35.83 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.3677, allocations: 3.938 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.368, allocations: 83.91 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.368, allocations: 15.91 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.368, allocations: 37.7 kB / 1.06 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.3682, allocations: 99.98 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3683, allocations: 3.938 kB / 1.06 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3683, allocations: 4 kB / 1.06 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3683, allocations: 0 / 1.06 GB, free: 2.898 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.0006645/0.3689, allocations: 396.9 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.369, allocations: 12.03 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.369, allocations: 7.906 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.3692, allocations: 174.9 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.3692, allocations: 3.953 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.3693, allocations: 8 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.3695, allocations: 73.64 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3695, allocations: 7.969 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3695, allocations: 4 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3695, allocations: 0 / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.3696, allocations: 39.92 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006612/0.3703, allocations: 320.8 kB / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.3705, allocations: 46.56 kB / 1.061 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.695e-05/0.3706, allocations: 40.97 kB / 1.061 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.3706, allocations: 0 / 1.061 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.3708, allocations: 79.31 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.3708, allocations: 0 / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004038/0.3712, allocations: 153.8 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.3713, allocations: 55.34 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.3714, allocations: 121.8 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.3714, allocations: 29.7 kB / 1.062 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.3715, allocations: 92.23 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.3715, allocations: 23.83 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.3715, allocations: 0 / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3717, allocations: 318.8 kB / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-05/0.3718, allocations: 35.97 kB / 1.062 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.1e-05/0.3718, allocations: 55.36 kB / 1.062 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.014e-05/0.3719, allocations: 31.98 kB / 1.062 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.372, allocations: 4 kB / 1.062 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002438/0.3722, allocations: 121.5 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3722, allocations: 9.781 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3722, allocations: 80 / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3723, allocations: 4 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.3724, allocations: 15.92 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3724, allocations: 11.92 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.006e-05/0.3725, allocations: 11.89 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.3725, allocations: 8 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.3727, allocations: 121.8 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.3727, allocations: 7.906 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.3727, allocations: 12.36 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3727, allocations: 4 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.3727, allocations: 0 / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3727, allocations: 0 / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.3732, allocations: 386.4 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3732, allocations: 4 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-05/0.3733, allocations: 7.938 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.3733, allocations: 4 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3733, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3733, allocations: 3.984 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3733, allocations: 0 / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.3736, allocations: 223.3 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.3737, allocations: 77.11 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.3737, allocations: 4 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/0.3738, allocations: 7.984 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.3738, allocations: 4 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.3739, allocations: 7.984 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.3739, allocations: 91.27 kB / 1.063 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.5e-07/0.3739, allocations: 4 kB / 1.063 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000331/0.3743, allocations: 39.91 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,occ.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003831/0.3747, allocations: 162 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.3749, allocations: 87.94 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3749, allocations: 0 / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.779e-05/0.375, allocations: 39.92 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.3753, allocations: 14.91 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.3757, allocations: 205.2 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.376, allocations: 0.6848 MB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.247e-05/0.3761, allocations: 8.172 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.3761, allocations: 7.438 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3761, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of Templates: time 0.004885/0.381, allocations: 1.346 MB / 1.066 GB, free: 12.71 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0