Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.943/1.943, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001033/0.001033, allocations: 173.3 kB / 487 MB, free: 5.355 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.241/1.241, allocations: 221.3 MB / 0.7819 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008883/0.0008885, allocations: 98.39 kB / 0.9213 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.501e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2122, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6476/0.8599, allocations: 150.3 MB / 1.352 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.8602, allocations: 82.92 kB / 1.352 GB, free: 15.65 MB / 0.8073 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: time 0.008143/0.8684, allocations: 2.592 MB / 1.355 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.8684, allocations: 1.406 kB / 1.355 GB, free: 15.52 MB / 0.8073 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.0003824/0.8688, allocations: 448.4 kB / 1.355 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.8688, allocations: 9.938 kB / 1.355 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.8689, allocations: 7.625 kB / 1.355 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.117e-05/0.869, allocations: 171.2 kB / 1.355 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.869, allocations: 1.688 kB / 1.355 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.869, allocations: 4.25 kB / 1.355 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.55e-05/0.8691, allocations: 24.81 kB / 1.355 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.339e-05/0.8692, allocations: 55.56 kB / 1.355 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.8692, allocations: 0 / 1.355 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.8692, allocations: 0 / 1.355 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8692, allocations: 1.562 kB / 1.355 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.8696, allocations: 271.7 kB / 1.356 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.773e-05/0.8697, allocations: 44.56 kB / 1.356 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/0.8697, allocations: 26.47 kB / 1.356 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.8697, allocations: 5.844 kB / 1.356 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.061e-05/0.8698, allocations: 66.17 kB / 1.356 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.8698, allocations: 0 / 1.356 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001768/0.87, allocations: 76.86 kB / 1.356 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.87, allocations: 61.73 kB / 1.356 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.723e-05/0.8701, allocations: 107.1 kB / 1.356 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.8701, allocations: 31.7 kB / 1.356 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.203e-05/0.8701, allocations: 83.58 kB / 1.356 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.8702, allocations: 19.77 kB / 1.356 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.8702, allocations: 0 / 1.356 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.273e-05/0.8702, allocations: 319.2 kB / 1.356 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.999e-05/0.8703, allocations: 11.91 kB / 1.356 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.26e-05/0.8703, allocations: 53.05 kB / 1.356 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.104e-05/0.8703, allocations: 20.27 kB / 1.356 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8704, allocations: 0.7812 kB / 1.356 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001328/0.8705, allocations: 90.42 kB / 1.357 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.8705, allocations: 5.984 kB / 1.357 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8705, allocations: 1.5 kB / 1.357 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.8705, allocations: 1.75 kB / 1.357 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.8706, allocations: 18.48 kB / 1.357 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.8706, allocations: 6.312 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.609e-05/0.8707, allocations: 10.39 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.8707, allocations: 11.67 kB / 1.357 GB, free: 13.75 MB / 0.8073 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 5.034e-05/0.8708, allocations: 105.2 kB / 1.357 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.8708, allocations: 7.719 kB / 1.357 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.8709, allocations: 10.05 kB / 1.357 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.8709, allocations: 1.094 kB / 1.357 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.8709, allocations: 5 kB / 1.357 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.8709, allocations: 4.797 kB / 1.357 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.8711, allocations: 319.1 kB / 1.357 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.8711, allocations: 2.688 kB / 1.357 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.8712, allocations: 6.922 kB / 1.357 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.8712, allocations: 5.156 kB / 1.357 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.8712, allocations: 1.641 kB / 1.357 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8712, allocations: 0.8438 kB / 1.357 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8712, allocations: 0 / 1.357 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001372/0.8714, allocations: 180.7 kB / 1.357 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.8714, allocations: 91.2 kB / 1.357 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.8714, allocations: 2.109 kB / 1.357 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.8715, allocations: 6.234 kB / 1.357 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.8716, allocations: 4.109 kB / 1.357 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.8716, allocations: 3.906 kB / 1.357 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.024e-05/0.8716, allocations: 89.53 kB / 1.357 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002952/0.8719, allocations: 50.56 kB / 1.357 GB, free: 13.03 MB / 0.8073 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.0003001/0.8722, allocations: 167.2 kB / 1.358 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.8724, allocations: 52.12 kB / 1.358 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8724, allocations: 0 / 1.358 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.518e-05/0.8724, allocations: 30.84 kB / 1.358 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.8726, allocations: 13.42 kB / 1.358 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.8729, allocations: 101.2 kB / 1.358 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.8731, allocations: 0.7056 MB / 1.359 GB, free: 28.13 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/0.8731, allocations: 0 / 1.359 GB, free: 28.13 MB / 0.823 GB Notification: Performance of Templates: time 0.00395/0.8771, allocations: 1.641 MB / 1.36 GB, free: 27.97 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","../files/Buildings_9_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.f,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