Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.519/1.519, allocations: 249.3 MB / 261.8 MB, free: 5.934 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.001097/0.001097, allocations: 180.8 kB / 321.3 MB, free: 14.65 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.596/1.596, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009404/0.0009405, allocations: 90.55 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.313e-05/3.315e-05, allocations: 0 / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2332, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7872/1.021, allocations: 133.6 MB / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/1.021, allocations: 81.94 kB / 1.022 GB, free: 1.16 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.008565/1.029, allocations: 2.882 MB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.543e-06/1.029, allocations: 0 / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.591e-06/1.029, allocations: 0 / 1.025 GB, free: 14.69 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.000468/1.03, allocations: 429.6 kB / 1.026 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/1.03, allocations: 15.97 kB / 1.026 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/1.03, allocations: 7.906 kB / 1.026 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/1.03, allocations: 184.8 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/1.03, allocations: 3.312 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/1.03, allocations: 4 kB / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/1.03, allocations: 68.2 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/1.03, allocations: 0 / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/1.03, allocations: 0 / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/1.03, allocations: 4 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.999e-05/1.031, allocations: 30.31 kB / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/1.031, allocations: 300.8 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.87e-05/1.031, allocations: 38.08 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/1.031, allocations: 30.16 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/1.031, allocations: 0 / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/1.031, allocations: 72.58 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/1.031, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002395/1.032, allocations: 99.52 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/1.032, allocations: 59.36 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.2e-05/1.032, allocations: 108.7 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/1.032, allocations: 29.7 kB / 1.027 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/1.032, allocations: 90.17 kB / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/1.032, allocations: 22.45 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/1.032, allocations: 3.375 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.032, allocations: 317.7 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.348e-05/1.032, allocations: 11.38 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/1.032, allocations: 60.41 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.092e-05/1.032, allocations: 26.55 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.032, allocations: 4 kB / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001443/1.032, allocations: 94.16 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.032, allocations: 7.984 kB / 1.027 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/1.032, allocations: 0 / 1.027 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/1.032, allocations: 4.156 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-05/1.032, allocations: 19 kB / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/1.032, allocations: 3.938 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/1.033, allocations: 15.84 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/1.033, allocations: 4 kB / 1.027 GB, free: 12.46 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.pDown,bli.pDown,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.459e-05/1.033, allocations: 108.2 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/1.033, allocations: 4 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/1.033, allocations: 11.88 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/1.033, allocations: 4 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.033, allocations: 3.984 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/1.033, allocations: 4.031 kB / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/1.033, allocations: 372.1 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.033, allocations: 0 / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/1.033, allocations: 4 kB / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/1.033, allocations: 0 / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/1.033, allocations: 4 kB / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.033, allocations: 4 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.033, allocations: 3.953 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/1.033, allocations: 189.8 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/1.033, allocations: 85.02 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/1.034, allocations: 7.5 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.394e-05/1.034, allocations: 11.98 kB / 1.028 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/1.034, allocations: 7.953 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/1.034, allocations: 7.984 kB / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.359e-05/1.034, allocations: 94.64 kB / 1.028 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/1.034, allocations: 3.938 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002863/1.034, allocations: 51.28 kB / 1.028 GB, free: 11.48 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.pDown,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.0003495/1.034, allocations: 161.3 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001406/1.035, allocations: 61.22 kB / 1.028 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/1.035, allocations: 0 / 1.028 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.776e-05/1.035, allocations: 38.03 kB / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/1.035, allocations: 4 kB / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/1.035, allocations: 99.83 kB / 1.028 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/1.035, allocations: 0.689 MB / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.696e-05/1.035, allocations: 12.17 kB / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/1.035, allocations: 11.44 kB / 1.029 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of SimCode: time 3.5e-07/1.035, allocations: 0 / 1.029 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.004029/1.039, allocations: 1.519 MB / 1.031 GB, free: 8.891 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.freqHz,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,time