Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001318/0.001318, allocations: 182.2 kB / 326.5 MB, free: 2.254 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.68/1.68, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0008799/0.0008799, allocations: 92.45 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 10.16 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1972, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.3549, allocations: 133.7 MB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.3552, allocations: 83.95 kB / 1.031 GB, free: 9.957 MB / 0.6823 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 - DAE generated: time 0.008631/0.3639, allocations: 3.002 MB / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3639, allocations: 0 / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.3639, allocations: 0 / 1.034 GB, free: 6.949 MB / 0.6823 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.0004506/0.3644, allocations: 458.3 kB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3644, allocations: 12.03 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.3644, allocations: 11.91 kB / 1.034 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.3646, allocations: 178.9 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.3646, allocations: 4 kB / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.3646, allocations: 4 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.3648, allocations: 81.64 kB / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.3648, allocations: 0 / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3648, allocations: 0 / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3648, allocations: 0 / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.365, allocations: 43.97 kB / 1.034 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.3654, allocations: 312.7 kB / 1.035 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.3656, allocations: 50.5 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3656, allocations: 4.062 kB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.3658, allocations: 87.48 kB / 1.035 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.3658, allocations: 0 / 1.035 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004158/0.3662, allocations: 157.7 kB / 1.035 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.3663, allocations: 59.36 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.007e-05/0.3663, allocations: 120.9 kB / 1.035 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3664, allocations: 25.7 kB / 1.035 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.3664, allocations: 96.31 kB / 1.035 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.3665, allocations: 11.8 kB / 1.035 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.3665, allocations: 8 kB / 1.035 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.3666, allocations: 318.8 kB / 1.036 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.3667, allocations: 23.98 kB / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.848e-05/0.3668, allocations: 67.02 kB / 1.036 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.757e-05/0.3668, allocations: 31.92 kB / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3668, allocations: 0 / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002168/0.3671, allocations: 125.4 kB / 1.036 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3671, allocations: 4 kB / 1.036 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3671, allocations: 48 / 1.036 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3671, allocations: 12.14 kB / 1.036 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.252e-05/0.3672, allocations: 15.98 kB / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3672, allocations: 0 / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/0.3673, allocations: 11.89 kB / 1.036 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3673, allocations: 4 kB / 1.036 GB, free: 4.41 MB / 0.6823 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 () * Number of clocked 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 8.995e-05/0.3674, allocations: 131 kB / 1.036 GB, free: 4.273 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.3674, allocations: 11.91 kB / 1.036 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.3675, allocations: 8.375 kB / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.3675, allocations: 0 / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3675, allocations: 0 / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3675, allocations: 7.938 kB / 1.036 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004322/0.3679, allocations: 382.5 kB / 1.036 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3679, allocations: 0 / 1.036 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.368, allocations: 19.92 kB / 1.036 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.368, allocations: 0 / 1.036 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.368, allocations: 4 kB / 1.036 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.368, allocations: 0 / 1.036 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.368, allocations: 3.953 kB / 1.036 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.3683, allocations: 215.4 kB / 1.037 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.3684, allocations: 89.02 kB / 1.037 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.3684, allocations: 7.984 kB / 1.037 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.21e-05/0.3685, allocations: 4 kB / 1.037 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.3685, allocations: 11.98 kB / 1.037 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.3686, allocations: 3.953 kB / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.3686, allocations: 98.14 kB / 1.037 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3686, allocations: 0 / 1.037 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002931/0.3689, allocations: 47.94 kB / 1.037 GB, free: 3.289 MB / 0.6823 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 () * Number of clocked 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.0003257/0.3693, allocations: 179 kB / 1.037 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.3695, allocations: 72.22 kB / 1.037 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3695, allocations: 4 kB / 1.037 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.3696, allocations: 43.97 kB / 1.037 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.3698, allocations: 6.031 kB / 1.037 GB, free: 3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.3703, allocations: 217.2 kB / 1.037 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.3705, allocations: 0.6939 MB / 1.038 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.592e-05/0.3706, allocations: 8.266 kB / 1.038 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.3706, allocations: 15.44 kB / 1.038 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/0.3706, allocations: 0 / 1.038 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of Templates: time 0.003985/0.3746, allocations: 1.553 MB / 1.04 GB, free: 0.4961 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","../files/Buildings_maint.7.0.x_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.freqHz,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