Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") [: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.922/1.922, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.0009586/0.0009586, allocations: 185.2 kB / 487 MB, free: 5.316 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.254/1.254, allocations: 221.3 MB / 0.7819 GB, free: 1.289 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.0009163/0.0009163, allocations: 92.64 kB / 0.9213 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.111e-06/6.131e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2323, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5991/0.8314, allocations: 150.4 MB / 1.352 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.8318, allocations: 81.38 kB / 1.352 GB, free: 15.83 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.01161/0.8434, allocations: 2.707 MB / 1.355 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.8434, allocations: 4.906 kB / 1.355 GB, free: 15.68 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.0005125/0.8439, allocations: 449.3 kB / 1.355 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.844, allocations: 10.59 kB / 1.355 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.8441, allocations: 6.969 kB / 1.355 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.994e-05/0.8442, allocations: 173 kB / 1.355 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.8442, allocations: 2.812 kB / 1.355 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.8442, allocations: 3.531 kB / 1.355 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001178/0.8444, allocations: 24.67 kB / 1.355 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.8445, allocations: 57.22 kB / 1.356 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.8445, allocations: 5 kB / 1.356 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.8445, allocations: 0.6562 kB / 1.356 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.8446, allocations: 1.281 kB / 1.356 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.845, allocations: 278.1 kB / 1.356 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.8451, allocations: 37.8 kB / 1.356 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.98e-05/0.8452, allocations: 23.88 kB / 1.356 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.8453, allocations: 1.688 kB / 1.356 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.8454, allocations: 83.55 kB / 1.356 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.8454, allocations: 0 / 1.356 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0002502/0.8457, allocations: 83.31 kB / 1.356 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.8457, allocations: 56.95 kB / 1.356 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.8458, allocations: 110.9 kB / 1.356 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.8458, allocations: 25.7 kB / 1.356 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.8459, allocations: 88.61 kB / 1.356 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.8459, allocations: 23.05 kB / 1.356 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.8459, allocations: 0 / 1.356 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.846, allocations: 320.1 kB / 1.357 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.846, allocations: 11.19 kB / 1.357 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-05/0.8461, allocations: 49.7 kB / 1.357 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.8462, allocations: 27.02 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8462, allocations: 4.719 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002071/0.8464, allocations: 86.92 kB / 1.357 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.8464, allocations: 6.297 kB / 1.357 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.8464, allocations: 1.438 kB / 1.357 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.8465, allocations: 1.719 kB / 1.357 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.8466, allocations: 21.97 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.8466, allocations: 2.828 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.83e-05/0.8467, allocations: 6.609 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.8467, allocations: 3.844 kB / 1.357 GB, free: 13.92 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.p,bli.p,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 7.235e-05/0.8468, allocations: 111.9 kB / 1.357 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.8469, allocations: 8.672 kB / 1.357 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.8469, allocations: 14.73 kB / 1.357 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.8469, allocations: 4.953 kB / 1.357 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.8469, allocations: 7.875 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.847, allocations: 0.5156 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.8473, allocations: 326.7 kB / 1.357 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.8474, allocations: 0.75 kB / 1.357 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.8474, allocations: 6.047 kB / 1.357 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.8474, allocations: 0.75 kB / 1.357 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.8475, allocations: 6.297 kB / 1.357 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.8475, allocations: 5.953 kB / 1.357 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8475, allocations: 0 / 1.357 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002031/0.8477, allocations: 182.4 kB / 1.357 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.8477, allocations: 84.22 kB / 1.358 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.8478, allocations: 1.453 kB / 1.358 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.8479, allocations: 6.062 kB / 1.358 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.848, allocations: 9.422 kB / 1.358 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.848, allocations: 4.859 kB / 1.358 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.295e-05/0.8481, allocations: 95.84 kB / 1.358 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005847/0.8487, allocations: 47.03 kB / 1.358 GB, free: 13.19 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.p,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.0004833/0.8492, allocations: 173.9 kB / 1.358 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.8494, allocations: 49.52 kB / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.8494, allocations: 0 / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.292e-05/0.8495, allocations: 36.81 kB / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.8498, allocations: 5.734 kB / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.8502, allocations: 107.1 kB / 1.358 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.8504, allocations: 0.7081 MB / 1.359 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of SimCode: time 3.3e-07/0.8504, allocations: 0 / 1.359 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of Templates: time 0.005959/0.8564, allocations: 1.66 MB / 1.36 GB, free: 12.14 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.A1,bli.A2,bli.B,bli.H,bli.LSen,bli.blindState,bli.occ,bli.p,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,time