Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.469/2.469, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001097/0.001097, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.572/1.572, allocations: 221.3 MB / 0.7872 GB, free: 12.96 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.0008649/0.0008647, allocations: 83.92 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.799e-05/2.801e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2791, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.342, allocations: 151.6 MB / 1.36 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/1.342, allocations: 86.39 kB / 1.361 GB, free: 19.07 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.01189/1.354, allocations: 3.861 MB / 1.364 GB, free: 34.53 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.553e-06/1.354, allocations: 3.938 kB / 1.364 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.805e-06/1.354, allocations: 3.875 kB / 1.364 GB, free: 34.52 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006574/1.354, allocations: 0.5242 MB / 1.365 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.355, allocations: 11.66 kB / 1.365 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/1.355, allocations: 15.61 kB / 1.365 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/1.355, allocations: 175.6 kB / 1.365 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/1.355, allocations: 3.812 kB / 1.365 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/1.355, allocations: 7.125 kB / 1.365 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/1.355, allocations: 107.3 kB / 1.365 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/1.355, allocations: 0 / 1.365 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/1.355, allocations: 3.125 kB / 1.365 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/1.355, allocations: 0 / 1.365 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/1.355, allocations: 50.86 kB / 1.365 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008742/1.356, allocations: 414.4 kB / 1.366 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/1.356, allocations: 64.98 kB / 1.366 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/1.356, allocations: 44.53 kB / 1.366 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/1.356, allocations: 0 / 1.366 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/1.356, allocations: 108.7 kB / 1.366 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/1.356, allocations: 0 / 1.366 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0003222/1.357, allocations: 154 kB / 1.366 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/1.357, allocations: 58.19 kB / 1.366 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/1.357, allocations: 126.5 kB / 1.366 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/1.357, allocations: 32.98 kB / 1.366 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/1.357, allocations: 101.9 kB / 1.366 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/1.357, allocations: 22.08 kB / 1.366 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/1.357, allocations: 3.438 kB / 1.366 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.485e-05/1.357, allocations: 325.6 kB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.224e-05/1.357, allocations: 28.38 kB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.585e-05/1.357, allocations: 58.28 kB / 1.367 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.894e-05/1.357, allocations: 40.91 kB / 1.367 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.357, allocations: 3.938 kB / 1.367 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000184/1.358, allocations: 126.2 kB / 1.367 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.358, allocations: 7.719 kB / 1.367 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.358, allocations: 0 / 1.367 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.358, allocations: 7.797 kB / 1.367 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/1.358, allocations: 25.08 kB / 1.367 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.358, allocations: 7.844 kB / 1.367 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.9e-05/1.358, allocations: 18.31 kB / 1.367 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/1.358, allocations: 10.53 kB / 1.367 GB, free: 32.62 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.077e-05/1.358, allocations: 107.7 kB / 1.367 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/1.358, allocations: 7.75 kB / 1.367 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/1.358, allocations: 12 kB / 1.367 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.358, allocations: 4 kB / 1.367 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.358, allocations: 6.297 kB / 1.367 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.358, allocations: 0 / 1.367 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/1.358, allocations: 457.8 kB / 1.367 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.359, allocations: 0 / 1.367 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.188e-05/1.359, allocations: 14.38 kB / 1.367 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.359, allocations: 3.188 kB / 1.367 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/1.359, allocations: 7.797 kB / 1.367 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/1.359, allocations: 4.188 kB / 1.367 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.359, allocations: 0 / 1.367 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/1.359, allocations: 253.7 kB / 1.368 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/1.359, allocations: 81.02 kB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/1.359, allocations: 7.812 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/1.359, allocations: 38.66 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/1.359, allocations: 10.05 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/1.359, allocations: 0 / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.393e-05/1.359, allocations: 115.6 kB / 1.368 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.359, allocations: 0 / 1.368 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003741/1.36, allocations: 60.55 kB / 1.368 GB, free: 31.86 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: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0004454/1.36, allocations: 178.2 kB / 1.368 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002103/1.36, allocations: 87.97 kB / 1.368 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.36, allocations: 0 / 1.368 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.632e-05/1.361, allocations: 50.98 kB / 1.368 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/1.361, allocations: 10.41 kB / 1.368 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/1.361, allocations: 153.6 kB / 1.368 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/1.361, allocations: 0.7021 MB / 1.369 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.782e-05/1.362, allocations: 7.672 kB / 1.369 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/1.362, allocations: 14.44 kB / 1.369 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of SimCode: time 3.9e-07/1.362, allocations: 0 / 1.369 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of Templates: time 0.004905/1.367, allocations: 2.007 MB / 1.371 GB, free: 30.77 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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:TComf.amplitude,TComf.f,TComf.offset,TComf.phase,TComf.startTime,TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AIn,win.AOut,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0