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.425/1.425, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.00109/0.00109, allocations: 179.4 kB / 326.5 MB, free: 2.273 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.747/1.747, allocations: 205.4 MB / 0.5775 GB, free: 20.31 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.0009335/0.0009335, allocations: 97.53 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 9.25 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2258, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.171/0.3969, allocations: 133.6 MB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.3972, allocations: 83.95 kB / 1.031 GB, free: 10.09 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.008414/0.4056, allocations: 2.893 MB / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4057, allocations: 0 / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.4057, allocations: 0 / 1.033 GB, free: 7.191 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.0005314/0.4062, allocations: 450.4 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4063, allocations: 11.97 kB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.4063, allocations: 7.906 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.4064, allocations: 179 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.4065, allocations: 4 kB / 1.034 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.4065, allocations: 7.938 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.4067, allocations: 73.64 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4067, allocations: 0 / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.4067, allocations: 4 kB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.4068, allocations: 0 / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.4069, allocations: 43.97 kB / 1.034 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.4074, allocations: 316.5 kB / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.4075, allocations: 46.56 kB / 1.035 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.4075, allocations: 0 / 1.035 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.4077, allocations: 79.5 kB / 1.035 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.835e-06/0.4077, allocations: 4 kB / 1.035 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003968/0.4081, allocations: 149.5 kB / 1.035 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.4082, allocations: 59.36 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.56e-05/0.4083, allocations: 109 kB / 1.035 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.4083, allocations: 29.7 kB / 1.035 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.4084, allocations: 96.31 kB / 1.035 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.4084, allocations: 15.81 kB / 1.035 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.4084, allocations: 0 / 1.035 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4085, allocations: 318.8 kB / 1.035 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.121e-05/0.4086, allocations: 23.98 kB / 1.035 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.07e-05/0.4087, allocations: 69.08 kB / 1.035 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.122e-05/0.4088, allocations: 33.86 kB / 1.036 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4088, allocations: 0 / 1.036 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002183/0.409, allocations: 121.4 kB / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.409, allocations: 4 kB / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.409, allocations: 4 kB / 1.036 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4091, allocations: 0 / 1.036 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.4091, allocations: 15.98 kB / 1.036 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4092, allocations: 4.094 kB / 1.036 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.22e-05/0.4092, allocations: 15.95 kB / 1.036 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.4092, allocations: 4 kB / 1.036 GB, free: 4.691 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.pDown,bli.pDown,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.755e-05/0.4093, allocations: 125.8 kB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.4094, allocations: 7.906 kB / 1.036 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.4094, allocations: 12.34 kB / 1.036 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.4094, allocations: 0 / 1.036 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4094, allocations: 4 kB / 1.036 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.4094, allocations: 4 kB / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.4099, allocations: 386.4 kB / 1.036 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4099, allocations: 0 / 1.036 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.41, allocations: 7.984 kB / 1.036 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.41, allocations: 0 / 1.036 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.41, allocations: 0 / 1.036 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.41, allocations: 7.938 kB / 1.036 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.41, allocations: 7.953 kB / 1.036 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.4103, allocations: 215.3 kB / 1.036 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.4104, allocations: 85.02 kB / 1.037 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.4104, allocations: 8 kB / 1.037 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.4105, allocations: 8 kB / 1.037 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.4105, allocations: 7.984 kB / 1.037 GB, free: 3.723 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.4105, allocations: 3.953 kB / 1.037 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.433e-05/0.4106, allocations: 91.27 kB / 1.037 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4106, allocations: 0 / 1.037 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002809/0.4109, allocations: 55.92 kB / 1.037 GB, free: 3.574 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.pDown,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.0003207/0.4112, allocations: 164.5 kB / 1.037 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.4114, allocations: 71.91 kB / 1.037 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4115, allocations: 0 / 1.037 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.4116, allocations: 52.2 kB / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.4118, allocations: 11.94 kB / 1.037 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.4122, allocations: 203.1 kB / 1.037 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.4124, allocations: 0.6965 MB / 1.038 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.556e-05/0.4125, allocations: 8.172 kB / 1.038 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.4125, allocations: 11.38 kB / 1.038 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of SimCode: time 3.61e-07/0.4125, allocations: 0 / 1.038 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of Templates: time 0.003832/0.4163, allocations: 1.509 MB / 1.039 GB, free: 0.8164 MB / 0.6823 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