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.486/1.486, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001131/0.001131, allocations: 177.9 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.24/2.24, 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.00101/0.00101, allocations: 98.23 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004045, allocations: 7.062 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2833, allocations: 106.3 MB / 0.9002 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/0.4755, allocations: 133.6 MB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/0.4759, allocations: 79.95 kB / 1.031 GB, free: 9.992 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.008824/0.4848, allocations: 2.889 MB / 1.034 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.478e-06/0.4848, allocations: 4 kB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.4848, allocations: 0 / 1.034 GB, free: 7.094 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.000556/0.4854, allocations: 458.4 kB / 1.034 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.4854, allocations: 12.02 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.4855, allocations: 34.56 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.4855, allocations: 3.906 kB / 1.034 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.4857, allocations: 174.9 kB / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.4857, allocations: 4 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.4857, allocations: 7.984 kB / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.4859, allocations: 77.59 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.4859, allocations: 0 / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.486, allocations: 4 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.486, allocations: 11.88 kB / 1.034 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.4861, allocations: 39.97 kB / 1.034 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.4866, allocations: 308.7 kB / 1.035 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.4868, allocations: 46.56 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.4868, allocations: 3.938 kB / 1.035 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/0.487, allocations: 83.5 kB / 1.035 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.487, allocations: 0 / 1.035 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003948/0.4874, allocations: 141.5 kB / 1.035 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.4875, allocations: 55.36 kB / 1.035 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.4876, allocations: 117 kB / 1.035 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.4876, allocations: 33.7 kB / 1.035 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.4877, allocations: 84.33 kB / 1.035 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.4877, allocations: 23.81 kB / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/0.4877, allocations: 0 / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4878, allocations: 322.8 kB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.4879, allocations: 25.92 kB / 1.036 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.582e-05/0.488, allocations: 69.5 kB / 1.036 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.403e-05/0.4881, allocations: 35.98 kB / 1.036 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4881, allocations: 0 / 1.036 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002127/0.4883, allocations: 117.4 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4883, allocations: 4 kB / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4884, allocations: 7.984 kB / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.4884, allocations: 160 / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.727e-05/0.4885, allocations: 19.94 kB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.4885, allocations: 4 kB / 1.036 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.263e-05/0.4886, allocations: 11.94 kB / 1.036 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.4886, allocations: 8 kB / 1.036 GB, free: 4.535 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.284e-05/0.4887, allocations: 121.7 kB / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.4887, allocations: 7.906 kB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.4887, allocations: 12.38 kB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4887, allocations: 4 kB / 1.036 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4887, allocations: 3.984 kB / 1.036 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.4888, allocations: 0 / 1.036 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.4892, allocations: 386.3 kB / 1.036 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4892, allocations: 0 / 1.036 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.4893, allocations: 8 kB / 1.036 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4893, allocations: 0 / 1.036 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.4893, allocations: 7.984 kB / 1.036 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4893, allocations: 0 / 1.036 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4893, allocations: 3.953 kB / 1.036 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.4896, allocations: 207.8 kB / 1.037 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.4896, allocations: 93.02 kB / 1.037 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.4897, allocations: 7.922 kB / 1.037 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.4898, allocations: 4 kB / 1.037 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.4898, allocations: 11.94 kB / 1.037 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.4898, allocations: 0 / 1.037 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.144e-05/0.4899, allocations: 95.27 kB / 1.037 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4899, allocations: 0 / 1.037 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002968/0.4902, allocations: 43.94 kB / 1.037 GB, free: 3.438 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.0008083/0.491, allocations: 0.83 MB / 1.038 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.4912, allocations: 79.88 kB / 1.038 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4912, allocations: 0 / 1.038 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.917e-05/0.4914, allocations: 35.98 kB / 1.038 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.4915, allocations: 8.312 kB / 1.038 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000935/0.4925, allocations: 1.209 MB / 1.039 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.4928, allocations: 0.6887 MB / 1.04 GB, free: 484 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.053e-05/0.4928, allocations: 8.172 kB / 1.04 GB, free: 476 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.4929, allocations: 19.44 kB / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of SimCode: time 2.71e-07/0.4929, allocations: 0 / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.5072, allocations: 2.497 MB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.5076, allocations: 239.2 kB / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.074, allocations: 4 kB / 1.042 GB, free: 13.87 MB / 0.698 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)