Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.186/1.186, allocations: 249.4 MB / 256.7 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009158/0.0009158, allocations: 181.2 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.031/1.031, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008389/0.0008389, allocations: 90.14 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.1e-06/5.119e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1365, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4062/0.5427, allocations: 134.2 MB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.5429, allocations: 78.08 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: time 0.009036/0.552, allocations: 2.879 MB / 1.019 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.552, allocations: 4 kB / 1.019 GB, free: 2.043 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004814/0.5525, allocations: 452 kB / 1.019 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.5525, allocations: 8.031 kB / 1.019 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.5526, allocations: 7.906 kB / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.5527, allocations: 171.1 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.5527, allocations: 3.906 kB / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.5528, allocations: 15.92 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.588e-05/0.5529, allocations: 30.69 kB / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.553, allocations: 71.34 kB / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.553, allocations: 0 / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.553, allocations: 0 / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.553, allocations: 0 / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.5535, allocations: 304.7 kB / 1.02 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.5536, allocations: 47.83 kB / 1.02 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.5536, allocations: 31.41 kB / 1.02 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.5537, allocations: 7.984 kB / 1.02 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.5538, allocations: 85.33 kB / 1.02 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.5538, allocations: 4 kB / 1.02 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002438/0.554, allocations: 97.91 kB / 1.02 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.5541, allocations: 55.41 kB / 1.02 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.048e-05/0.5541, allocations: 112.9 kB / 1.02 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.5542, allocations: 25.7 kB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.5542, allocations: 95.42 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.5542, allocations: 15.5 kB / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.5543, allocations: 0 / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.5543, allocations: 318.6 kB / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-05/0.5544, allocations: 22.88 kB / 1.02 GB, free: 32 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.5545, allocations: 55.23 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.114e-05/0.5545, allocations: 25.86 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5545, allocations: 0 / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001684/0.5547, allocations: 118.2 kB / 1.021 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.5548, allocations: 4 kB / 1.021 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5548, allocations: 4 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.5548, allocations: 3.938 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.5549, allocations: 19.92 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.5549, allocations: 4 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.358e-05/0.555, allocations: 4 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.555, allocations: 8.094 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$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 6.624e-05/0.5551, allocations: 113.8 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.5551, allocations: 11.89 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.5551, allocations: 8.25 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.5552, allocations: 4 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5552, allocations: 3.938 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.5552, allocations: 0 / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.5555, allocations: 360 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5555, allocations: 0 / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.5556, allocations: 4 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.5556, allocations: 0 / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.5556, allocations: 7.984 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5556, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5556, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002098/0.5558, allocations: 198.3 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.5559, allocations: 85.02 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.5559, allocations: 3.984 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.556, allocations: 8 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.5561, allocations: 3.984 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.5561, allocations: 7.625 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.512e-05/0.5562, allocations: 91.33 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003018/0.5565, allocations: 51.38 kB / 1.022 GB, free: 14.85 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003393/0.5569, allocations: 176.3 kB / 1.022 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001468/0.557, allocations: 75.78 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.557, allocations: 0 / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.169e-05/0.5571, allocations: 34.25 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.5573, allocations: 15.16 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.5576, allocations: 110 kB / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.5578, allocations: 0.6997 MB / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of SimCode: time 2.1e-07/0.5578, allocations: 0 / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of Templates: time 0.003948/0.5618, allocations: 1.908 MB / 1.025 GB, free: 11.86 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.freqHz,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0