Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") [: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.2/1.2, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.001083/0.001083, allocations: 176.8 kB / 316 MB, free: 3.539 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.086/1.086, allocations: 205.1 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.0008264/0.0008264, allocations: 93.44 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.25e-06/5.27e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1496, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4271/0.5768, allocations: 133.9 MB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.577, allocations: 78.52 kB / 1.015 GB, free: 5.047 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.007701/0.5847, allocations: 2.554 MB / 1.018 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.5848, allocations: 0 / 1.018 GB, free: 2.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004136/0.5852, allocations: 440.5 kB / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.5852, allocations: 8.031 kB / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.5853, allocations: 7.906 kB / 1.018 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.5854, allocations: 178.8 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.5854, allocations: 4 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.5854, allocations: 0 / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.283e-05/0.5855, allocations: 22.25 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.5856, allocations: 59.23 kB / 1.019 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.5857, allocations: 4 kB / 1.019 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.5857, allocations: 3.906 kB / 1.019 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.5857, allocations: 0 / 1.019 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.5861, allocations: 269.8 kB / 1.019 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.788e-05/0.5861, allocations: 40.7 kB / 1.019 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/0.5862, allocations: 26.92 kB / 1.019 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.5862, allocations: 11.69 kB / 1.019 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.108e-05/0.5863, allocations: 62.64 kB / 1.019 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.5863, allocations: 0 / 1.019 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001783/0.5865, allocations: 78.45 kB / 1.019 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.5865, allocations: 55.41 kB / 1.019 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.5866, allocations: 111.8 kB / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.5866, allocations: 29.7 kB / 1.019 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.5867, allocations: 88.02 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.5867, allocations: 19.23 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.5867, allocations: 0 / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.5868, allocations: 318.8 kB / 1.02 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.932e-05/0.5868, allocations: 14.44 kB / 1.02 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.647e-05/0.5869, allocations: 52.52 kB / 1.02 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.688e-05/0.5869, allocations: 19.44 kB / 1.02 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.5869, allocations: 0 / 1.02 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001275/0.5871, allocations: 92.2 kB / 1.02 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.5871, allocations: 4 kB / 1.02 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5871, allocations: 8.906 kB / 1.02 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.5871, allocations: 0 / 1.02 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.59e-05/0.5872, allocations: 23.55 kB / 1.02 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.5872, allocations: 4 kB / 1.02 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.2e-05/0.5873, allocations: 4 kB / 1.02 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.5873, allocations: 7.984 kB / 1.02 GB, free: 0.7969 MB / 0.6355 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.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,bli.occ,$whenCondition1,bli.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 6.569e-05/0.5874, allocations: 112.9 kB / 1.02 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.5874, allocations: 11.89 kB / 1.02 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.5874, allocations: 11.81 kB / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.5875, allocations: 0 / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.5875, allocations: 0 / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.5875, allocations: 0 / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.5877, allocations: 323.2 kB / 1.02 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.5878, allocations: 0 / 1.02 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.611e-05/0.5878, allocations: 7.984 kB / 1.02 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5878, allocations: 4 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.5878, allocations: 0 / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.5878, allocations: 4 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5878, allocations: 0 / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001458/0.588, allocations: 178 kB / 1.02 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.588, allocations: 81.02 kB / 1.021 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.5881, allocations: 7.984 kB / 1.021 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.5882, allocations: 11.91 kB / 1.021 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.5882, allocations: 3.984 kB / 1.021 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.5882, allocations: 7.188 kB / 1.021 GB, free: 0 / 0.6355 GB Notification: Performance of sort global known variables: time 4.775e-05/0.5883, allocations: 86.83 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002644/0.5886, allocations: 55.06 kB / 1.021 GB, free: 15.87 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: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pDown,bli.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.0002974/0.5889, allocations: 168.8 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.589, allocations: 56.28 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.589, allocations: 0 / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.946e-05/0.589, allocations: 30.31 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.5892, allocations: 11.08 kB / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.5895, allocations: 98.59 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.5898, allocations: 0.7075 MB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of SimCode: time 2e-07/0.5898, allocations: 0 / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of Templates: time 0.003513/0.5933, allocations: 1.624 MB / 1.023 GB, free: 13.18 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.freqHz,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,time