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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.645/1.645, allocations: 249.3 MB / 261.8 MB, free: 5.879 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.001141/0.001141, allocations: 172.9 kB / 321.3 MB, free: 14.64 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.59/1.59, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.0008917/0.0008912, allocations: 86.47 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.139e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2476, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7469/0.9945, allocations: 133.6 MB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/0.9949, allocations: 78.83 kB / 1.022 GB, free: 1.18 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.009535/1.004, allocations: 2.868 MB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.895e-06/1.004, allocations: 4 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.323e-05/1.005, allocations: 4 kB / 1.025 GB, free: 14.72 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.0006445/1.005, allocations: 429.2 kB / 1.026 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.5e-05/1.005, allocations: 12.03 kB / 1.026 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.327e-05/1.005, allocations: 46.42 kB / 1.026 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/1.005, allocations: 7.938 kB / 1.026 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/1.006, allocations: 178.9 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/1.006, allocations: 0 / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/1.006, allocations: 14.92 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/1.006, allocations: 61.28 kB / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/1.006, allocations: 3.984 kB / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/1.006, allocations: 0 / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/1.006, allocations: 7.938 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.82e-05/1.006, allocations: 19.06 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007035/1.007, allocations: 302.1 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/1.007, allocations: 38.33 kB / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.446e-05/1.007, allocations: 26.86 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/1.007, allocations: 3.984 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/1.007, allocations: 74.19 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/1.007, allocations: 4 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002818/1.007, allocations: 100.2 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/1.007, allocations: 58.66 kB / 1.027 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.898e-05/1.008, allocations: 108.8 kB / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/1.008, allocations: 29.7 kB / 1.027 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/1.008, allocations: 87.23 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/1.008, allocations: 18.89 kB / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/1.008, allocations: 3.062 kB / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.008, allocations: 318.7 kB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/1.008, allocations: 19.31 kB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.578e-05/1.008, allocations: 56.88 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.311e-05/1.008, allocations: 19.38 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.008, allocations: 8 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001791/1.008, allocations: 99.2 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.008, allocations: 4 kB / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.008, allocations: 0 / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/1.008, allocations: 4 kB / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.971e-05/1.008, allocations: 19.92 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.008, allocations: 3.953 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.906e-05/1.009, allocations: 20.05 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/1.009, allocations: 0 / 1.027 GB, free: 12.45 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 9.466e-05/1.009, allocations: 108.9 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/1.009, allocations: 4 kB / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/1.009, allocations: 12.44 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/1.009, allocations: 0 / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.009, allocations: 0 / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.009, allocations: 3.953 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/1.009, allocations: 375.5 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.009, allocations: 0 / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-05/1.009, allocations: 7.984 kB / 1.028 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/1.009, allocations: 0 / 1.028 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/1.009, allocations: 4 kB / 1.028 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/1.009, allocations: 3.953 kB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.009, allocations: 0 / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/1.01, allocations: 200.8 kB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-05/1.01, allocations: 84.8 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/1.01, allocations: 4 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.932e-05/1.01, allocations: 8.031 kB / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/1.01, allocations: 11.94 kB / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/1.01, allocations: 0 / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.321e-05/1.01, allocations: 103 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.974e-06/1.01, allocations: 0 / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003843/1.01, allocations: 51.56 kB / 1.028 GB, free: 11.46 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.001051/1.011, allocations: 0.7926 MB / 1.029 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001823/1.012, allocations: 57.48 kB / 1.029 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.012, allocations: 0 / 1.029 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.844e-05/1.012, allocations: 33.36 kB / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/1.012, allocations: 15.88 kB / 1.029 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005844/1.013, allocations: 157.5 kB / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/1.013, allocations: 0.6887 MB / 1.03 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.006e-05/1.013, allocations: 8.5 kB / 1.03 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/1.013, allocations: 23.8 kB / 1.03 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of SimCode: time 6.21e-07/1.013, allocations: 0 / 1.03 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/1.028, allocations: 2.514 MB / 1.032 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/1.028, allocations: 211 kB / 1.033 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.648, allocations: 0 / 1.033 GB, free: 7.055 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)