Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") [: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.195/1.195, allocations: 249.4 MB / 256.7 MB, free: 7.027 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.001012/0.001012, allocations: 188.4 kB / 316 MB, free: 3.578 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.076/1.076, allocations: 205.2 MB / 0.5667 GB, free: 15.64 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.0008458/0.0008457, allocations: 88.95 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.501e-06/5.521e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.145, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4198/0.5648, allocations: 133.9 MB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.565, allocations: 84.12 kB / 1.015 GB, free: 5.102 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.007567/0.5726, allocations: 2.555 MB / 1.018 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.5726, allocations: 0 / 1.018 GB, free: 2.984 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.0004143/0.5731, allocations: 433.1 kB / 1.018 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.5731, allocations: 12.03 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.5731, allocations: 7.906 kB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.5732, allocations: 181.5 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.5733, allocations: 4 kB / 1.018 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.5733, allocations: 4 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.224e-05/0.5734, allocations: 18.75 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.497e-05/0.5735, allocations: 62.41 kB / 1.019 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.5735, allocations: 3.938 kB / 1.019 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.5735, allocations: 3.906 kB / 1.019 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.5735, allocations: 4 kB / 1.019 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.5739, allocations: 270.4 kB / 1.019 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.817e-05/0.574, allocations: 36.08 kB / 1.019 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.574, allocations: 26.91 kB / 1.019 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.574, allocations: 0 / 1.019 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.34e-05/0.5741, allocations: 69.58 kB / 1.019 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.5741, allocations: 4 kB / 1.019 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001802/0.5743, allocations: 75.91 kB / 1.019 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.5744, allocations: 54.91 kB / 1.019 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.376e-05/0.5745, allocations: 112.7 kB / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.5745, allocations: 29.7 kB / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.5745, allocations: 87.75 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.5745, allocations: 18 kB / 1.019 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.5745, allocations: 0 / 1.019 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.5746, allocations: 322.5 kB / 1.02 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.741e-05/0.5747, allocations: 15.12 kB / 1.02 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.548e-05/0.5747, allocations: 48.66 kB / 1.02 GB, free: 1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.936e-05/0.5748, allocations: 22.73 kB / 1.02 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5748, allocations: 4 kB / 1.02 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001294/0.5749, allocations: 92.39 kB / 1.02 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.5749, allocations: 6.344 kB / 1.02 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5749, allocations: 3.938 kB / 1.02 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.575, allocations: 4 kB / 1.02 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-05/0.575, allocations: 15.94 kB / 1.02 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.5751, allocations: 0 / 1.02 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.5751, allocations: 12.14 kB / 1.02 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.5751, allocations: 4 kB / 1.02 GB, free: 0.8516 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.192e-05/0.5752, allocations: 108.9 kB / 1.02 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.5752, allocations: 7.906 kB / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.5753, allocations: 7.75 kB / 1.02 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.5753, allocations: 7.984 kB / 1.02 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.5753, allocations: 0 / 1.02 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.5753, allocations: 8.031 kB / 1.02 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.5756, allocations: 318.5 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.5756, allocations: 0 / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.5756, allocations: 4 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5756, allocations: 4 kB / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.5757, allocations: 7.609 kB / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5757, allocations: 0 / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5757, allocations: 4 kB / 1.02 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001426/0.5758, allocations: 180.2 kB / 1.02 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.5759, allocations: 85.02 kB / 1.021 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.5759, allocations: 0 / 1.021 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.576, allocations: 7.906 kB / 1.021 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.576, allocations: 7.984 kB / 1.021 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.576, allocations: 3.625 kB / 1.021 GB, free: 64 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.82e-05/0.5761, allocations: 91.61 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002733/0.5764, allocations: 51.88 kB / 1.021 GB, free: 15.92 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.0002891/0.5767, allocations: 172.5 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.5768, allocations: 50.67 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5768, allocations: 320 / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.001e-05/0.5769, allocations: 30.5 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.577, allocations: 11.92 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.5773, allocations: 98.36 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.5776, allocations: 0.7038 MB / 1.022 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of SimCode: time 2.11e-07/0.5776, allocations: 0 / 1.022 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of Templates: time 0.003462/0.581, allocations: 1.625 MB / 1.023 GB, free: 13.24 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.freqHz,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,time