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.578/1.578, allocations: 249.3 MB / 261.8 MB, free: 5.902 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.001044/0.001044, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0008707/0.0008707, allocations: 90.52 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.255e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.227, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.765/0.992, allocations: 133.6 MB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.9923, allocations: 88.81 kB / 1.022 GB, free: 1.062 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.008903/1.001, allocations: 2.988 MB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.633e-06/1.001, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.702e-06/1.001, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 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.000511/1.002, allocations: 437.2 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.002, allocations: 8.031 kB / 1.026 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/1.002, allocations: 4 kB / 1.026 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/1.002, allocations: 182.8 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/1.002, allocations: 11.3 kB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/1.002, allocations: 4 kB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/1.002, allocations: 64.28 kB / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/1.002, allocations: 4 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/1.002, allocations: 3.938 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/1.002, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.785e-05/1.002, allocations: 29.67 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/1.003, allocations: 303.1 kB / 1.026 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.621e-05/1.003, allocations: 51.62 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/1.003, allocations: 23.73 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/1.003, allocations: 3.984 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/1.003, allocations: 71.95 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/1.003, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002771/1.004, allocations: 108.9 kB / 1.027 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/1.004, allocations: 55.36 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/1.004, allocations: 124 kB / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/1.004, allocations: 28.89 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/1.004, allocations: 99.38 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/1.004, allocations: 15.75 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/1.004, allocations: 3.312 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.004, allocations: 322.3 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.64e-05/1.004, allocations: 11.69 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/1.004, allocations: 51.97 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.845e-05/1.004, allocations: 26.98 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.004, allocations: 0 / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001564/1.004, allocations: 103.2 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/1.004, allocations: 8 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.004, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.004, allocations: 4 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.741e-05/1.005, allocations: 11.94 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.005, allocations: 7.984 kB / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/1.005, allocations: 7.953 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/1.005, allocations: 7.938 kB / 1.027 GB, free: 12.25 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.122e-05/1.005, allocations: 113.1 kB / 1.028 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/1.005, allocations: 7.906 kB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/1.005, allocations: 16.23 kB / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/1.005, allocations: 0 / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.005, allocations: 0 / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.005, allocations: 0 / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/1.005, allocations: 372.4 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.005, allocations: 0 / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/1.005, allocations: 11.94 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/1.005, allocations: 0 / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/1.005, allocations: 6.734 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.005, allocations: 4 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.005, allocations: 3.953 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/1.006, allocations: 198.9 kB / 1.028 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/1.006, allocations: 81.02 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/1.006, allocations: 7 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.172e-05/1.006, allocations: 12 kB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/1.006, allocations: 7.938 kB / 1.028 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/1.006, allocations: 4 kB / 1.028 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.498e-05/1.006, allocations: 101 kB / 1.028 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.006, allocations: 0 / 1.028 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003041/1.006, allocations: 46.94 kB / 1.028 GB, free: 11.25 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.0004071/1.007, allocations: 172.8 kB / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001476/1.007, allocations: 51.75 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.007, allocations: 0 / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.893e-05/1.007, allocations: 30.41 kB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/1.007, allocations: 7.938 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/1.007, allocations: 119.1 kB / 1.029 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/1.008, allocations: 0.6956 MB / 1.029 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.817e-05/1.008, allocations: 8.125 kB / 1.029 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/1.008, allocations: 11.44 kB / 1.029 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of SimCode: time 5.51e-07/1.008, allocations: 0 / 1.029 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of Templates: time 0.00428/1.012, allocations: 1.568 MB / 1.031 GB, free: 8.602 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