Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.198/2.198, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001108/0.001108, allocations: 176.9 kB / 492.3 MB, free: 0.6133 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.561/1.561, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0009785/0.0009784, allocations: 87.89 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.631e-05/2.635e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3012, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.36, allocations: 151.2 MB / 1.36 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/1.361, allocations: 78.86 kB / 1.36 GB, free: 18.95 MB / 0.823 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.009555/1.37, allocations: 3.011 MB / 1.363 GB, free: 34.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.974e-06/1.37, allocations: 0 / 1.363 GB, free: 34.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.358e-05/1.37, allocations: 3.812 kB / 1.363 GB, free: 34.5 MB / 0.8386 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.0006157/1.371, allocations: 415.8 kB / 1.363 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/1.371, allocations: 7.688 kB / 1.363 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.819e-05/1.371, allocations: 8.938 kB / 1.363 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/1.371, allocations: 166.7 kB / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.78e-05/1.371, allocations: 8.719 kB / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/1.371, allocations: 3.875 kB / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/1.372, allocations: 64.34 kB / 1.364 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/1.372, allocations: 3.938 kB / 1.364 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/1.372, allocations: 4 kB / 1.364 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/1.372, allocations: 7.922 kB / 1.364 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.378e-05/1.372, allocations: 30.66 kB / 1.364 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007026/1.372, allocations: 308.3 kB / 1.364 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.998e-05/1.373, allocations: 44.08 kB / 1.364 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.342e-05/1.373, allocations: 27.34 kB / 1.364 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/1.373, allocations: 3.938 kB / 1.364 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/1.373, allocations: 69.34 kB / 1.364 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/1.373, allocations: 0 / 1.364 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002742/1.373, allocations: 100.2 kB / 1.364 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/1.373, allocations: 56.77 kB / 1.364 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/1.373, allocations: 118.9 kB / 1.364 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/1.373, allocations: 32.77 kB / 1.364 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/1.373, allocations: 92.59 kB / 1.365 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/1.373, allocations: 12.41 kB / 1.365 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/1.373, allocations: 3.812 kB / 1.365 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.374, allocations: 320 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.597e-05/1.374, allocations: 20.59 kB / 1.365 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/1.374, allocations: 44.88 kB / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.546e-05/1.374, allocations: 21.17 kB / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.374, allocations: 0 / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001615/1.374, allocations: 102.5 kB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.374, allocations: 3.875 kB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.374, allocations: 0 / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/1.374, allocations: 3.844 kB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/1.374, allocations: 17.38 kB / 1.365 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/1.374, allocations: 3.844 kB / 1.365 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/1.374, allocations: 12.53 kB / 1.365 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/1.374, allocations: 11.81 kB / 1.365 GB, free: 32.75 MB / 0.8386 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete 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 7.925e-05/1.374, allocations: 110.7 kB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/1.374, allocations: 3.906 kB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/1.374, allocations: 13.17 kB / 1.365 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/1.374, allocations: 0 / 1.365 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.374, allocations: 4 kB / 1.365 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.374, allocations: 0 / 1.365 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/1.375, allocations: 368.1 kB / 1.366 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.375, allocations: 0 / 1.366 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/1.375, allocations: 5.656 kB / 1.366 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/1.375, allocations: 1.312 kB / 1.366 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/1.375, allocations: 4.75 kB / 1.366 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.375, allocations: 1.734 kB / 1.366 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.375, allocations: 3.953 kB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/1.375, allocations: 194.3 kB / 1.366 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/1.375, allocations: 82.78 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/1.375, allocations: 0 / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/1.375, allocations: 9.078 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/1.375, allocations: 15.72 kB / 1.366 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/1.375, allocations: 7.25 kB / 1.366 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.85e-05/1.375, allocations: 94.83 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.11e-07/1.375, allocations: 0 / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003197/1.376, allocations: 56.36 kB / 1.366 GB, free: 31.99 MB / 0.8386 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 () * 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.0004076/1.376, allocations: 171.3 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001502/1.376, allocations: 59.06 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.376, allocations: 4.125 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.213e-05/1.376, allocations: 28.66 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/1.377, allocations: 15.41 kB / 1.366 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/1.377, allocations: 98.83 kB / 1.366 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/1.377, allocations: 0.6924 MB / 1.367 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.635e-05/1.377, allocations: 6.953 kB / 1.367 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/1.377, allocations: 19.25 kB / 1.367 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.377, allocations: 0 / 1.367 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of Templates: time 0.004808/1.382, allocations: 1.531 MB / 1.369 GB, free: 30.95 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0