Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 387.1 MB / 399.7 MB, free: 9.477 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 168.1 kB / 492.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 221.3 MB / 0.7872 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008699/0.0008698, allocations: 95.92 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.862e-05/4.863e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3168, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/1.407, allocations: 151.1 MB / 1.36 GB, free: 18.75 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/1.408, allocations: 86.33 kB / 1.36 GB, free: 18.75 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.008636/1.416, allocations: 2.906 MB / 1.363 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.373e-06/1.416, allocations: 0 / 1.363 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.444e-06/1.416, allocations: 0 / 1.363 GB, free: 34.3 MB / 0.8386 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.0005048/1.417, allocations: 444.9 kB / 1.363 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.417, allocations: 7.719 kB / 1.363 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/1.417, allocations: 7.594 kB / 1.363 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/1.417, allocations: 176.1 kB / 1.363 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/1.417, allocations: 5.094 kB / 1.363 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/1.417, allocations: 8.594 kB / 1.363 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/1.417, allocations: 56.36 kB / 1.364 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.417, allocations: 3.938 kB / 1.364 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/1.417, allocations: 9.234 kB / 1.364 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.417, allocations: 0 / 1.364 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.957e-05/1.417, allocations: 23.22 kB / 1.364 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/1.418, allocations: 304.5 kB / 1.364 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.939e-05/1.418, allocations: 42.12 kB / 1.364 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/1.418, allocations: 26.77 kB / 1.364 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/1.418, allocations: 3.938 kB / 1.364 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/1.418, allocations: 85.59 kB / 1.364 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/1.418, allocations: 0 / 1.364 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002457/1.419, allocations: 93.61 kB / 1.364 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/1.419, allocations: 56.62 kB / 1.364 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/1.419, allocations: 114 kB / 1.364 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/1.419, allocations: 29.39 kB / 1.364 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/1.419, allocations: 89.08 kB / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/1.419, allocations: 21.12 kB / 1.364 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/1.419, allocations: 0 / 1.364 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.419, allocations: 323.4 kB / 1.365 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.319e-05/1.419, allocations: 23.41 kB / 1.365 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.713e-05/1.419, allocations: 48.39 kB / 1.365 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.666e-05/1.419, allocations: 25.34 kB / 1.365 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.419, allocations: 0 / 1.365 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001358/1.419, allocations: 99.72 kB / 1.365 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.419, allocations: 3.844 kB / 1.365 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.419, allocations: 3.969 kB / 1.365 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/1.419, allocations: 0 / 1.365 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.845e-05/1.419, allocations: 22.92 kB / 1.365 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.419, allocations: 4 kB / 1.365 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.995e-05/1.42, allocations: 17.42 kB / 1.365 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/1.42, allocations: 3.844 kB / 1.365 GB, free: 32.49 MB / 0.8386 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.289e-05/1.42, allocations: 109.2 kB / 1.365 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/1.42, allocations: 11.72 kB / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/1.42, allocations: 10.19 kB / 1.365 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/1.42, allocations: 0 / 1.365 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.42, allocations: 4 kB / 1.365 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.42, allocations: 3.969 kB / 1.365 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/1.42, allocations: 358.4 kB / 1.365 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.42, allocations: 0 / 1.365 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/1.42, allocations: 6.594 kB / 1.365 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.42, allocations: 0 / 1.365 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/1.42, allocations: 6.453 kB / 1.365 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.42, allocations: 0 / 1.365 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.42, allocations: 3.953 kB / 1.365 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/1.42, allocations: 206.1 kB / 1.366 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/1.42, allocations: 84.95 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/1.42, allocations: 3.844 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.59e-05/1.421, allocations: 6.656 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/1.421, allocations: 6.953 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/1.421, allocations: 3.844 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.935e-05/1.421, allocations: 99.19 kB / 1.366 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.421, allocations: 4 kB / 1.366 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002942/1.421, allocations: 46.19 kB / 1.366 GB, free: 31.73 MB / 0.8386 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.0003896/1.421, allocations: 179.9 kB / 1.366 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001337/1.422, allocations: 56.41 kB / 1.366 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.422, allocations: 7.875 kB / 1.366 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.672e-05/1.422, allocations: 23.58 kB / 1.366 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/1.422, allocations: 10.28 kB / 1.366 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/1.422, allocations: 104.1 kB / 1.366 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/1.422, allocations: 0.693 MB / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.546e-05/1.422, allocations: 9.75 kB / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/1.422, allocations: 10.75 kB / 1.367 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of SimCode: time 2.1e-07/1.422, allocations: 0 / 1.367 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of Templates: time 0.003919/1.426, allocations: 1.523 MB / 1.368 GB, free: 30.68 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","../files/Buildings_9_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.f,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