Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.502/2.502, allocations: 390.3 MB / 405.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 173.2 kB / 498.1 MB, free: 5.602 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 223.2 MB / 0.7949 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009623/0.0009623, allocations: 94.61 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003756, allocations: 9.984 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3005, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1956/0.4962, allocations: 151.3 MB / 1.371 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.4965, allocations: 79.95 kB / 1.371 GB, free: 10.78 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009903/0.5064, allocations: 3.036 MB / 1.374 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.546e-06/0.5065, allocations: 0 / 1.374 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.5065, allocations: 0 / 1.374 GB, free: 7.734 MB / 0.8698 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.0008163/0.5073, allocations: 428.7 kB / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.946e-05/0.5074, allocations: 12.03 kB / 1.374 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.243e-05/0.5075, allocations: 11.86 kB / 1.374 GB, free: 7.238 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.5077, allocations: 170.9 kB / 1.374 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.026e-05/0.5078, allocations: 8 kB / 1.374 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.5078, allocations: 7.938 kB / 1.374 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.5081, allocations: 73.66 kB / 1.374 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.5081, allocations: 0 / 1.374 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.5081, allocations: 0 / 1.374 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.5081, allocations: 4 kB / 1.374 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.5083, allocations: 39.97 kB / 1.374 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008674/0.5092, allocations: 320.8 kB / 1.375 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.5093, allocations: 50.5 kB / 1.375 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.5094, allocations: 3.984 kB / 1.375 GB, free: 6.469 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.5096, allocations: 87.36 kB / 1.375 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.5096, allocations: 0 / 1.375 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0005808/0.5102, allocations: 153.5 kB / 1.375 GB, free: 6.215 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.5102, allocations: 59.41 kB / 1.375 GB, free: 6.145 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.5104, allocations: 112.9 kB / 1.375 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.5104, allocations: 25.7 kB / 1.375 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.5105, allocations: 96.31 kB / 1.375 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.5105, allocations: 11.88 kB / 1.375 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.5105, allocations: 8 kB / 1.375 GB, free: 5.875 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.5107, allocations: 318.8 kB / 1.376 GB, free: 5.555 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.12e-05/0.5108, allocations: 23.98 kB / 1.376 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.5109, allocations: 55.42 kB / 1.376 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.511, allocations: 35.98 kB / 1.376 GB, free: 5.43 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.511, allocations: 3.938 kB / 1.376 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002787/0.5113, allocations: 129.4 kB / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.5113, allocations: 7.984 kB / 1.376 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5113, allocations: 0 / 1.376 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.5114, allocations: 4 kB / 1.376 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.5115, allocations: 12 kB / 1.376 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.5115, allocations: 3.953 kB / 1.376 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.934e-05/0.5116, allocations: 19.98 kB / 1.376 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.5116, allocations: 4 kB / 1.376 GB, free: 5.242 MB / 0.8698 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.0001152/0.5117, allocations: 121.5 kB / 1.376 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.5118, allocations: 7.906 kB / 1.376 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.5118, allocations: 12.36 kB / 1.376 GB, free: 5.098 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5118, allocations: 0 / 1.376 GB, free: 5.098 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5118, allocations: 0 / 1.376 GB, free: 5.098 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.5118, allocations: 3.953 kB / 1.376 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005174/0.5124, allocations: 386.5 kB / 1.376 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5124, allocations: 0 / 1.376 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.5124, allocations: 7.938 kB / 1.376 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.5124, allocations: 0 / 1.376 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.5125, allocations: 3.984 kB / 1.376 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.5125, allocations: 7.953 kB / 1.376 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.5125, allocations: 4 kB / 1.376 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.5128, allocations: 203.8 kB / 1.377 GB, free: 4.422 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.5129, allocations: 85.11 kB / 1.377 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.5129, allocations: 3.984 kB / 1.377 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-05/0.513, allocations: 8 kB / 1.377 GB, free: 4.309 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.513, allocations: 11.94 kB / 1.377 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.513, allocations: 4 kB / 1.377 GB, free: 4.293 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.508e-05/0.5131, allocations: 91.92 kB / 1.377 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5131, allocations: 3.938 kB / 1.377 GB, free: 4.199 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000353/0.5135, allocations: 51.84 kB / 1.377 GB, free: 4.148 MB / 0.8698 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.0005396/0.514, allocations: 189.5 kB / 1.377 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.5143, allocations: 83.92 kB / 1.377 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5143, allocations: 0 / 1.377 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.5144, allocations: 31.98 kB / 1.377 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.5146, allocations: 13.48 kB / 1.377 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.515, allocations: 197.2 kB / 1.377 GB, free: 3.617 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.5154, allocations: 0.6926 MB / 1.378 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.5154, allocations: 4.188 kB / 1.378 GB, free: 2.895 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.5155, allocations: 15.42 kB / 1.378 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of SimCode: time 3.81e-07/0.5155, allocations: 3.938 kB / 1.378 GB, free: 2.875 MB / 0.8698 GB Notification: Performance of Templates: time 0.004425/0.5199, allocations: 1.522 MB / 1.379 GB, free: 1.355 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","../files/Buildings_9_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