Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 249.5 MB / 257 MB, free: 6.895 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.001254/0.001254, allocations: 180.9 kB / 316.3 MB, free: 3.215 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.771/1.771, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.001086/0.001086, allocations: 89.92 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.048e-05/2.05e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2338, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7599/0.9938, allocations: 133.8 MB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.994, allocations: 82.27 kB / 1.016 GB, free: 3.93 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.008362/1.002, allocations: 2.862 MB / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.112e-06/1.002, allocations: 0 / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.092e-06/1.002, allocations: 0 / 1.019 GB, free: 1.508 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.0005003/1.003, allocations: 430.4 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/1.003, allocations: 8.031 kB / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/1.003, allocations: 7.906 kB / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/1.003, allocations: 188.7 kB / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/1.003, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/1.003, allocations: 6.938 kB / 1.019 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.939e-05/1.003, allocations: 22.61 kB / 1.019 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/1.003, allocations: 56.3 kB / 1.019 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/1.003, allocations: 3.938 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/1.004, allocations: 2.688 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/1.004, allocations: 0.5 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/1.004, allocations: 269.3 kB / 1.02 GB, free: 448 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.189e-05/1.004, allocations: 50.86 kB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.956e-05/1.004, allocations: 20.3 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/1.004, allocations: 4 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001171/1.004, allocations: 71.39 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/1.004, allocations: 0 / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002254/1.005, allocations: 95.33 kB / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/1.005, allocations: 55.41 kB / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/1.005, allocations: 111.7 kB / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/1.005, allocations: 25.7 kB / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/1.005, allocations: 99.41 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/1.005, allocations: 11.78 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/1.005, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.005, allocations: 330.1 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.867e-05/1.005, allocations: 14.38 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.376e-05/1.005, allocations: 47.91 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.239e-05/1.005, allocations: 29.67 kB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.005, allocations: 0 / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001376/1.005, allocations: 86.89 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.005, allocations: 8 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/1.005, allocations: 0 / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/1.005, allocations: 4 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.861e-05/1.005, allocations: 11.94 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/1.005, allocations: 8.141 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.01e-05/1.005, allocations: 15.91 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/1.005, allocations: 7.375 kB / 1.021 GB, free: 15.35 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.202e-05/1.006, allocations: 111.5 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/1.006, allocations: 4 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/1.006, allocations: 10.92 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/1.006, allocations: 3.938 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/1.006, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.006, allocations: 8 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/1.006, allocations: 333.5 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/1.006, allocations: 4 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.345e-05/1.006, allocations: 7.984 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.006, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/1.006, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.006, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.006, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/1.006, allocations: 197.8 kB / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/1.006, allocations: 85.02 kB / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/1.006, allocations: 0 / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-05/1.006, allocations: 4 kB / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/1.006, allocations: 7.984 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/1.006, allocations: 0 / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.183e-05/1.007, allocations: 96.86 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/1.007, allocations: 0 / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002847/1.007, allocations: 55.31 kB / 1.022 GB, free: 14.41 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.0003721/1.007, allocations: 168.4 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001312/1.007, allocations: 53.61 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/1.007, allocations: 320 / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.276e-05/1.007, allocations: 34.67 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/1.008, allocations: 15.83 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/1.008, allocations: 91.22 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/1.008, allocations: 0.6924 MB / 1.023 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.397e-05/1.008, allocations: 8.125 kB / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/1.008, allocations: 11.44 kB / 1.023 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of SimCode: time 2.2e-07/1.008, allocations: 0 / 1.023 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of Templates: time 0.003775/1.012, allocations: 1.499 MB / 1.024 GB, free: 11.85 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.freqHz,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,time