Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.674/2.674, allocations: 287.3 MB / 302.3 MB, free: 8.395 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 193.5 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 98.42 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009249/0.000925, allocations: 12.34 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2495, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.26, allocations: 139.8 MB / 1.115 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/1.261, allocations: 88.02 kB / 1.115 GB, free: 15.67 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01283/1.273, allocations: 2.883 MB / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.465e-06/1.273, allocations: 0 / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.518e-06/1.273, allocations: 0 / 1.118 GB, free: 31.23 MB / 0.698 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.0007091/1.274, allocations: 461.9 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.274, allocations: 11.67 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.556e-05/1.274, allocations: 40.62 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/1.274, allocations: 3.844 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/1.274, allocations: 170.9 kB / 1.118 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/1.275, allocations: 10.52 kB / 1.118 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/1.275, allocations: 7.125 kB / 1.118 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/1.275, allocations: 65.47 kB / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.275, allocations: 3.812 kB / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/1.275, allocations: 7.141 kB / 1.118 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.275, allocations: 0 / 1.118 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/1.275, allocations: 42.03 kB / 1.118 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006044/1.276, allocations: 306.4 kB / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/1.276, allocations: 49.61 kB / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/1.276, allocations: 10.2 kB / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/1.276, allocations: 76.06 kB / 1.119 GB, free: 30.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/1.276, allocations: 4 kB / 1.119 GB, free: 30.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000606/1.277, allocations: 145.6 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/1.277, allocations: 58.61 kB / 1.119 GB, free: 30.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/1.277, allocations: 112.2 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/1.277, allocations: 25.7 kB / 1.119 GB, free: 29.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/1.277, allocations: 98.45 kB / 1.119 GB, free: 29.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/1.277, allocations: 17.88 kB / 1.119 GB, free: 29.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-06/1.277, allocations: 3.812 kB / 1.119 GB, free: 29.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.277, allocations: 320.9 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/1.278, allocations: 25.52 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/1.278, allocations: 64.81 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/1.278, allocations: 29.2 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.278, allocations: 3.938 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003498/1.278, allocations: 115 kB / 1.12 GB, free: 29.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.278, allocations: 16.33 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.278, allocations: 0 / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/1.278, allocations: 3.812 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/1.278, allocations: 13.61 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/1.278, allocations: 4.156 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/1.279, allocations: 22.73 kB / 1.12 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/1.279, allocations: 6.922 kB / 1.12 GB, free: 29.37 MB / 0.698 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 0.000134/1.279, allocations: 123.7 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/1.279, allocations: 7.781 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/1.279, allocations: 7.688 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/1.279, allocations: 3.812 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.279, allocations: 4 kB / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/1.279, allocations: 2.672 kB / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006851/1.28, allocations: 378.1 kB / 1.12 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.28, allocations: 0 / 1.12 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.566e-05/1.28, allocations: 9.328 kB / 1.12 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/1.28, allocations: 0 / 1.12 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/1.28, allocations: 5.312 kB / 1.12 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/1.28, allocations: 1.172 kB / 1.12 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.28, allocations: 7.875 kB / 1.12 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/1.28, allocations: 214.6 kB / 1.121 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/1.28, allocations: 78.52 kB / 1.121 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/1.28, allocations: 4 kB / 1.121 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/1.28, allocations: 5.391 kB / 1.121 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/1.28, allocations: 14.42 kB / 1.121 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/1.28, allocations: 4.922 kB / 1.121 GB, free: 28.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.164e-05/1.281, allocations: 90.2 kB / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/1.281, allocations: 0 / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004473/1.281, allocations: 52.92 kB / 1.121 GB, free: 28.61 MB / 0.698 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.001195/1.282, allocations: 0.8116 MB / 1.122 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003674/1.283, allocations: 83.08 kB / 1.122 GB, free: 27.92 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.283, allocations: 0 / 1.122 GB, free: 27.92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/1.283, allocations: 40.67 kB / 1.122 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/1.283, allocations: 12.59 kB / 1.122 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/1.284, allocations: 1.202 MB / 1.123 GB, free: 26.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/1.285, allocations: 0.6989 MB / 1.124 GB, free: 26.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.4e-05/1.285, allocations: 4 kB / 1.124 GB, free: 26.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/1.285, allocations: 20.89 kB / 1.124 GB, free: 26.05 MB / 0.698 GB Notification: Performance of SimCode: time 1.152e-06/1.285, allocations: 0 / 1.124 GB, free: 26.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/1.31, allocations: 2.497 MB / 1.126 GB, free: 25.81 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002816/1.31, allocations: 233.4 kB / 1.126 GB, free: 25.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/3.89, allocations: 0 / 1.126 GB, free: 25.57 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)