Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001201/0.001201, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 193 kB / 16.66 MB, free: 6.582 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.779/2.779, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.89 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.363, allocations: 151.6 MB / 1.167 GB, free: 6.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002879/0.3659, allocations: 1.498 MB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.3673, allocations: 0.7322 MB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.3674, allocations: 0 / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.486e-05/0.3675, allocations: 3.938 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/0.3676, allocations: 19.86 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006698/0.3682, allocations: 119.6 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.3684, allocations: 79.75 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3685, allocations: 12 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.3686, allocations: 39.84 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.49e-05/0.3687, allocations: 35.89 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.3688, allocations: 12 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.369, allocations: 87.91 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.439e-05/0.369, allocations: 23.91 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.3691, allocations: 31.84 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.3694, allocations: 147.5 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3694, allocations: 0 / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3694, allocations: 0 / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3694, allocations: 0 / 1.169 GB, free: 3.992 MB / 0.92 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.0007266/0.3702, allocations: 428.6 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3702, allocations: 12.03 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.58e-05/0.3703, allocations: 12.88 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3704, allocations: 172.3 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.3705, allocations: 384 / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.3705, allocations: 8.375 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.3707, allocations: 73.91 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.3707, allocations: 0 / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3707, allocations: 3.984 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3707, allocations: 0 / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.3709, allocations: 43.97 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006395/0.3715, allocations: 312.8 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.3717, allocations: 46.55 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.372e-05/0.3718, allocations: 40.91 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.3718, allocations: 4 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.372, allocations: 75.38 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.372, allocations: 4 kB / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.000411/0.3724, allocations: 133.6 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.3725, allocations: 59.34 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.298e-05/0.3726, allocations: 125.8 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.3726, allocations: 29.7 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.3727, allocations: 96.16 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.3727, allocations: 15.84 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.3728, allocations: 33.64 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.3729, allocations: 326.8 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.373, allocations: 19.98 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.848e-05/0.3731, allocations: 59.41 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.3733, allocations: 83.34 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3733, allocations: 0 / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002553/0.3735, allocations: 117.5 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3735, allocations: 5.875 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3736, allocations: 0 / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3736, allocations: 4 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-05/0.3737, allocations: 15.92 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3737, allocations: 0 / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.3738, allocations: 4.062 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3738, allocations: 8 kB / 1.172 GB, free: 1.414 MB / 0.92 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 (win.curSeed,$PRE.win.curSeed,occ.y,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 9.638e-05/0.3739, allocations: 129.8 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.3739, allocations: 7.953 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.3739, allocations: 8.375 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.374, allocations: 0 / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.374, allocations: 0 / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.374, allocations: 0 / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.3744, allocations: 386.7 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3744, allocations: 0 / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.3745, allocations: 11.98 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3745, allocations: 0 / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3745, allocations: 4 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3745, allocations: 0 / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3745, allocations: 4.016 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.3748, allocations: 215.4 kB / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.3749, allocations: 89 kB / 1.172 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3749, allocations: 4 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.375, allocations: 4 kB / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.375, allocations: 11.92 kB / 1.172 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.375, allocations: 0 / 1.172 GB, free: 468 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.507e-05/0.3751, allocations: 95.27 kB / 1.173 GB, free: 372 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3751, allocations: 4 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003017/0.3754, allocations: 31.94 kB / 1.173 GB, free: 336 kB / 0.92 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 (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.0003451/0.3758, allocations: 168.9 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.376, allocations: 67.91 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.376, allocations: 0 / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3761, allocations: 39.91 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.3764, allocations: 4 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.3769, allocations: 188.3 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.3771, allocations: 0.6846 MB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.282e-05/0.3772, allocations: 7.984 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.3772, allocations: 11.44 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.3772, allocations: 0 / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of Templates: time 0.004291/0.3815, allocations: 1.475 MB / 1.175 GB, free: 13.64 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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