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.438/1.438, allocations: 249.5 MB / 257 MB, free: 6.883 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.001194/0.001194, allocations: 176 kB / 316.3 MB, free: 3.219 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.784/1.784, allocations: 205.3 MB / 0.5671 GB, free: 15.78 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.0008706/0.0008711, allocations: 91.88 kB / 0.6714 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.012e-05/2.024e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2235, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7902/1.014, allocations: 133.9 MB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.014, allocations: 85.75 kB / 1.016 GB, free: 3.836 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 - DAE generated: time 0.008413/1.022, allocations: 2.967 MB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/1.022, allocations: 0 / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.675e-06/1.022, allocations: 4 kB / 1.019 GB, free: 1.324 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.0004886/1.023, allocations: 449.6 kB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.023, allocations: 12.03 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/1.023, allocations: 4 kB / 1.019 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/1.023, allocations: 178.8 kB / 1.02 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/1.023, allocations: 0 / 1.02 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/1.023, allocations: 4.875 kB / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.469e-05/1.023, allocations: 25.55 kB / 1.02 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/1.023, allocations: 60.3 kB / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/1.024, allocations: 3.938 kB / 1.02 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/1.024, allocations: 4 kB / 1.02 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.024, allocations: 0 / 1.02 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/1.024, allocations: 282.8 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.847e-05/1.024, allocations: 35.14 kB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/1.024, allocations: 27.11 kB / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/1.024, allocations: 7.062 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/1.024, allocations: 80.81 kB / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/1.024, allocations: 0 / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002301/1.025, allocations: 93.45 kB / 1.02 GB, free: 4 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/1.025, allocations: 51.41 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.931e-05/1.025, allocations: 117.3 kB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/1.025, allocations: 29.7 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/1.025, allocations: 93.94 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/1.025, allocations: 15.06 kB / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/1.025, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.025, allocations: 326.3 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.862e-05/1.025, allocations: 15.12 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.343e-05/1.025, allocations: 52.03 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.093e-05/1.025, allocations: 19.8 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.025, allocations: 0 / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001378/1.025, allocations: 88.39 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.025, allocations: 8 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.025, allocations: 4.156 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.025, allocations: 7.938 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.097e-05/1.025, allocations: 8 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/1.025, allocations: 11.92 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.744e-05/1.026, allocations: 4 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/1.026, allocations: 4 kB / 1.021 GB, free: 15.15 MB / 0.6511 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 8.911e-05/1.026, allocations: 118.7 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/1.026, allocations: 11.91 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.67e-05/1.026, allocations: 11.92 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/1.026, allocations: 0 / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.026, allocations: 4 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/1.026, allocations: 0 / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/1.026, allocations: 336.6 kB / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.026, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.347e-05/1.026, allocations: 7.984 kB / 1.021 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/1.026, allocations: 8.031 kB / 1.021 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/1.026, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.026, allocations: 3.938 kB / 1.021 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.026, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/1.026, allocations: 208.6 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/1.026, allocations: 85.02 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/1.027, allocations: 0 / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/1.027, allocations: 7.984 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/1.027, allocations: 8 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/1.027, allocations: 7.672 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.99e-05/1.027, allocations: 96.72 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.027, allocations: 0 / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002961/1.027, allocations: 51.3 kB / 1.022 GB, free: 14.18 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.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.0003992/1.027, allocations: 168.5 kB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001434/1.028, allocations: 53.92 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.028, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.462e-05/1.028, allocations: 25.06 kB / 1.022 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/1.028, allocations: 13.36 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/1.028, allocations: 104.3 kB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/1.029, allocations: 0.7009 MB / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.507e-05/1.029, allocations: 4.188 kB / 1.023 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/1.029, allocations: 7.438 kB / 1.023 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/1.029, allocations: 4 kB / 1.023 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.003976/1.033, allocations: 1.543 MB / 1.024 GB, free: 11.6 MB / 0.6511 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