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.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.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.001334/0.001334, 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.009459/0.009459, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.761/2.761, allocations: 462.6 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003964, allocations: 9.562 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4051, allocations: 159.6 MB / 1.059 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001848/0.407, allocations: 1.221 MB / 1.06 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.4085, allocations: 0.7206 MB / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.4086, allocations: 4 kB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.4086, allocations: 7.938 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.493e-05/0.4087, allocations: 11.86 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.4092, allocations: 103.8 kB / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.4094, allocations: 71.78 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.4095, allocations: 7.984 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.968e-05/0.4096, allocations: 31.91 kB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.249e-05/0.4097, allocations: 39.84 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.4097, allocations: 4 kB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.4099, allocations: 91.84 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.4099, allocations: 19.91 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.298e-05/0.41, allocations: 53.56 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.4102, allocations: 131.9 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.4102, allocations: 0 / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4102, allocations: 0 / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.4103, allocations: 3.938 kB / 1.061 GB, free: 2.914 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.0006531/0.4109, allocations: 405.1 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.411, allocations: 12.03 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.411, allocations: 12.84 kB / 1.062 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.4112, allocations: 176.2 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.4112, allocations: 4.375 kB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.4112, allocations: 4.375 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.4114, allocations: 81.89 kB / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4115, allocations: 8 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.4115, allocations: 0 / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4115, allocations: 0 / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.4116, allocations: 39.97 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006681/0.4123, allocations: 320.7 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.4125, allocations: 58.48 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.883e-05/0.4126, allocations: 40.89 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.4126, allocations: 0 / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.4128, allocations: 83.36 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.4128, allocations: 0 / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004231/0.4132, allocations: 149.7 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.4133, allocations: 59.34 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.821e-05/0.4134, allocations: 121.7 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.4134, allocations: 33.7 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.4135, allocations: 84.14 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.4135, allocations: 19.75 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.4135, allocations: 21.7 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4137, allocations: 322.8 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.721e-05/0.4137, allocations: 31.97 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.443e-05/0.4138, allocations: 51.42 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.414, allocations: 87.34 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.414, allocations: 0 / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002428/0.4143, allocations: 121.5 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.4143, allocations: 5.25 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4143, allocations: 8.062 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.4143, allocations: 0 / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.561e-05/0.4144, allocations: 15.92 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4145, allocations: 4 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.296e-05/0.4145, allocations: 11.98 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.4146, allocations: 4 kB / 1.063 GB, free: 320 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 (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 8.871e-05/0.4147, allocations: 117.8 kB / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.4147, allocations: 11.91 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.4147, allocations: 8.375 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4147, allocations: 7.938 kB / 1.064 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4147, allocations: 3.938 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4147, allocations: 3.984 kB / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004628/0.4152, allocations: 390.3 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.4152, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.4153, allocations: 16.06 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4153, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.4153, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4153, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4153, allocations: 3.938 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.4156, allocations: 219.3 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.4156, allocations: 85.02 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.4157, allocations: 4 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.993e-05/0.4158, allocations: 7.984 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.4158, allocations: 7.938 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.4158, allocations: 3.984 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.105e-05/0.4159, allocations: 91.28 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4159, allocations: 0 / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002978/0.4162, allocations: 43.98 kB / 1.064 GB, free: 15.21 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 (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.0003536/0.4166, allocations: 163.6 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002616/0.4168, allocations: 83.94 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4168, allocations: 0 / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.4169, allocations: 36.39 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.4172, allocations: 9.031 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004032/0.4176, allocations: 205.2 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.4181, allocations: 0.6887 MB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.583e-05/0.4181, allocations: 4.156 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.4181, allocations: 15.42 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4181, allocations: 0 / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of Templates: time 0.004133/0.4223, allocations: 1.373 MB / 1.067 GB, free: 12.59 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