Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.374/2.374, allocations: 390.5 MB / 398 MB, free: 10.94 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.001729/0.001729, allocations: 168.8 kB / 491.2 MB, free: 1.566 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.658/1.658, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0009338/0.0009337, allocations: 103.8 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.954e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3159, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.159/1.475, allocations: 151.8 MB / 1.361 GB, free: 17.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/1.475, allocations: 78.23 kB / 1.361 GB, free: 17.51 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.01219/1.487, allocations: 3.853 MB / 1.364 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.964e-06/1.488, allocations: 0 / 1.364 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.298e-06/1.488, allocations: 0 / 1.364 GB, free: 32.98 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.0007124/1.488, allocations: 0.5112 MB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/1.488, allocations: 15.47 kB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/1.488, allocations: 15.58 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/1.488, allocations: 180 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/1.489, allocations: 3.812 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/1.489, allocations: 7.594 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001328/1.489, allocations: 42.39 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/1.489, allocations: 97.78 kB / 1.365 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/1.489, allocations: 0 / 1.365 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/1.489, allocations: 0 / 1.365 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/1.489, allocations: 9.484 kB / 1.365 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008962/1.49, allocations: 381.7 kB / 1.366 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.765e-05/1.49, allocations: 57.42 kB / 1.366 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/1.49, allocations: 43.45 kB / 1.366 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/1.49, allocations: 7.969 kB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/1.49, allocations: 101.4 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/1.49, allocations: 0 / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0003424/1.491, allocations: 147.4 kB / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/1.491, allocations: 58.06 kB / 1.366 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/1.491, allocations: 128.6 kB / 1.366 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/1.491, allocations: 36.34 kB / 1.366 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/1.491, allocations: 105.3 kB / 1.366 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/1.491, allocations: 18.55 kB / 1.366 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/1.491, allocations: 0 / 1.366 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.491, allocations: 319.9 kB / 1.367 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-05/1.491, allocations: 30.03 kB / 1.367 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.604e-05/1.491, allocations: 57.45 kB / 1.367 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.062e-05/1.491, allocations: 28.77 kB / 1.367 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.491, allocations: 0 / 1.367 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001788/1.491, allocations: 124.5 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.491, allocations: 7.688 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.491, allocations: 0 / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.491, allocations: 3.812 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/1.492, allocations: 28.98 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.492, allocations: 7.781 kB / 1.367 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/1.492, allocations: 14.69 kB / 1.367 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/1.492, allocations: 6.516 kB / 1.367 GB, free: 31.11 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 9.046e-05/1.492, allocations: 106.7 kB / 1.367 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/1.492, allocations: 15.66 kB / 1.367 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/1.492, allocations: 11.17 kB / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.492, allocations: 3.781 kB / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.492, allocations: 4.828 kB / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.492, allocations: 0 / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/1.492, allocations: 420.1 kB / 1.367 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.492, allocations: 0 / 1.367 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.53e-05/1.493, allocations: 17.25 kB / 1.367 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/1.493, allocations: 11.75 kB / 1.367 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/1.493, allocations: 6.953 kB / 1.367 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.493, allocations: 3.953 kB / 1.367 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.493, allocations: 0 / 1.367 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/1.493, allocations: 242.1 kB / 1.368 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/1.493, allocations: 88.83 kB / 1.368 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/1.493, allocations: 0 / 1.368 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/1.493, allocations: 31.67 kB / 1.368 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/1.493, allocations: 16.34 kB / 1.368 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/1.493, allocations: 3.906 kB / 1.368 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.818e-05/1.493, allocations: 112.5 kB / 1.368 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.493, allocations: 0 / 1.368 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000366/1.494, allocations: 53.91 kB / 1.368 GB, free: 30.36 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.0004228/1.494, allocations: 176.3 kB / 1.368 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002064/1.494, allocations: 81.94 kB / 1.368 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.494, allocations: 0 / 1.368 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.379e-05/1.494, allocations: 50.52 kB / 1.368 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/1.495, allocations: 8.094 kB / 1.368 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/1.495, allocations: 140.4 kB / 1.368 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/1.495, allocations: 0.7062 MB / 1.369 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.616e-05/1.495, allocations: 10.48 kB / 1.369 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/1.496, allocations: 14.05 kB / 1.369 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.496, allocations: 0 / 1.369 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of Templates: time 0.004471/1.5, allocations: 1.943 MB / 1.371 GB, free: 29.29 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","../files/Buildings_latest_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