Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 2.028/2.028, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001035/0.001035, allocations: 177.3 kB / 490.8 MB, free: 1.953 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.31/1.31, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009648/0.0009649, allocations: 95.09 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.514e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.246, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.671/0.917, allocations: 151.2 MB / 1.359 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.9173, allocations: 82.14 kB / 1.359 GB, free: 17.2 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.008367/0.9257, allocations: 2.711 MB / 1.362 GB, free: 17.05 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.9257, allocations: 1.125 kB / 1.362 GB, free: 17.05 MB / 0.823 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.000437/0.9262, allocations: 438.9 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.9262, allocations: 8.625 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.9262, allocations: 11.53 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.903e-05/0.9263, allocations: 175.3 kB / 1.363 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.9264, allocations: 2.094 kB / 1.363 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.9264, allocations: 2.938 kB / 1.363 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.418e-05/0.9265, allocations: 21.59 kB / 1.363 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.9266, allocations: 70.89 kB / 1.363 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.9266, allocations: 5.094 kB / 1.363 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.9266, allocations: 0 / 1.363 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.9267, allocations: 1 kB / 1.363 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.9271, allocations: 269.6 kB / 1.363 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.258e-05/0.9271, allocations: 42.77 kB / 1.363 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/0.9272, allocations: 27.86 kB / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.9272, allocations: 0.9688 kB / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.736e-05/0.9273, allocations: 79.11 kB / 1.363 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.9273, allocations: 0.9688 kB / 1.363 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001933/0.9275, allocations: 79.22 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.9275, allocations: 54.08 kB / 1.363 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.897e-05/0.9276, allocations: 113.3 kB / 1.363 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.9277, allocations: 26.58 kB / 1.363 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.9277, allocations: 87.52 kB / 1.363 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.9277, allocations: 19.78 kB / 1.363 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.9277, allocations: 1.031 kB / 1.363 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.9278, allocations: 320 kB / 1.364 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.9279, allocations: 11.88 kB / 1.364 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.455e-05/0.9279, allocations: 54.42 kB / 1.364 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.027e-05/0.928, allocations: 23.12 kB / 1.364 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.928, allocations: 1.062 kB / 1.364 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001307/0.9281, allocations: 92.38 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.9281, allocations: 5.75 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.9281, allocations: 2.547 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.9282, allocations: 2.688 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.952e-05/0.9282, allocations: 17.33 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.9283, allocations: 6.094 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.744e-05/0.9283, allocations: 6.422 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.9284, allocations: 4 kB / 1.364 GB, free: 31.29 MB / 0.8386 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.689e-05/0.9284, allocations: 116.6 kB / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.9285, allocations: 11.38 kB / 1.364 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.9285, allocations: 11.8 kB / 1.364 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.9285, allocations: 5.25 kB / 1.364 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.9285, allocations: 48 / 1.364 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.9285, allocations: 3.984 kB / 1.364 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.9288, allocations: 325.6 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.9288, allocations: 4 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.9289, allocations: 10.25 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.9289, allocations: 1.062 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.9289, allocations: 2.328 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.9289, allocations: 0 / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.9289, allocations: 1.156 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001565/0.9291, allocations: 178.2 kB / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.9291, allocations: 87.27 kB / 1.365 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.9291, allocations: 6.422 kB / 1.365 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.9292, allocations: 9.875 kB / 1.365 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.9293, allocations: 3.641 kB / 1.365 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.9293, allocations: 3.922 kB / 1.365 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.134e-05/0.9293, allocations: 92.94 kB / 1.365 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003066/0.9297, allocations: 54.11 kB / 1.365 GB, free: 30.55 MB / 0.8386 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.0003422/0.93, allocations: 164 kB / 1.365 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.9301, allocations: 55.72 kB / 1.365 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.9302, allocations: 0 / 1.365 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.654e-05/0.9302, allocations: 33.19 kB / 1.365 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.9304, allocations: 9.828 kB / 1.365 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.9307, allocations: 100.9 kB / 1.365 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.931, allocations: 0.7066 MB / 1.366 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/0.931, allocations: 0 / 1.366 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of Templates: time 0.004134/0.9351, allocations: 1.685 MB / 1.368 GB, free: 29.52 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","../files/Buildings_latest_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