Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.771/1.771, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001004/0.001005, allocations: 184.9 kB / 361.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.2 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008118/0.0008115, allocations: 98.02 kB / 0.733 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.691e-05/1.694e-05, allocations: 0 / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7911/0.7911, allocations: 115.3 MB / 0.9645 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2145/1.006, allocations: 139.2 MB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/1.006, allocations: 84.53 kB / 1.1 GB, free: 444 kB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.008823/1.015, allocations: 2.858 MB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.593e-06/1.015, allocations: 1.688 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.887e-06/1.015, allocations: 4 kB / 1.103 GB, free: 13.63 MB / 0.7136 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.0005544/1.016, allocations: 439.4 kB / 1.104 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/1.016, allocations: 9.625 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/1.016, allocations: 8.938 kB / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/1.016, allocations: 174.9 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/1.016, allocations: 0 / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/1.016, allocations: 4 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.268e-05/1.016, allocations: 24.58 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/1.016, allocations: 58.33 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.016, allocations: 4.672 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/1.016, allocations: 0 / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/1.016, allocations: 0.8125 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/1.017, allocations: 282.6 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/1.017, allocations: 39.89 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.972e-05/1.017, allocations: 21.73 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/1.017, allocations: 8.062 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/1.017, allocations: 64.58 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/1.017, allocations: 4.531 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002617/1.017, allocations: 85.67 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/1.018, allocations: 68.02 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/1.018, allocations: 105.5 kB / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/1.018, allocations: 25.7 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.481e-05/1.018, allocations: 101.1 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/1.018, allocations: 12.53 kB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/1.018, allocations: 0 / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.018, allocations: 330.6 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.334e-05/1.018, allocations: 12 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.274e-05/1.018, allocations: 52 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.767e-05/1.018, allocations: 16.92 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.018, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002073/1.018, allocations: 95.17 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.018, allocations: 8 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/1.018, allocations: 160 / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/1.018, allocations: 8 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/1.019, allocations: 11.98 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.019, allocations: 7.938 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/1.019, allocations: 4 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/1.019, allocations: 4 kB / 1.105 GB, free: 11.38 MB / 0.7136 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 0.0001104/1.019, allocations: 112.9 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001674/1.019, allocations: 95.44 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/1.019, allocations: 15.89 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/1.019, allocations: 8.625 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.019, allocations: 3.938 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.019, allocations: 0 / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.019, allocations: 0 / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/1.019, allocations: 339.1 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.019, allocations: 0 / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/1.019, allocations: 5.125 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/1.019, allocations: 0 / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/1.019, allocations: 8 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.019, allocations: 0 / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/1.02, allocations: 3.984 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/1.02, allocations: 191.3 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/1.02, allocations: 81.05 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/1.02, allocations: 0 / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/1.02, allocations: 7.984 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/1.02, allocations: 15.19 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/1.02, allocations: 5.203 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.83e-05/1.02, allocations: 95.23 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.02, allocations: 0 / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003253/1.02, allocations: 47.92 kB / 1.106 GB, free: 10.27 MB / 0.7136 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.0008005/1.021, allocations: 0.7928 MB / 1.107 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001395/1.021, allocations: 51.91 kB / 1.107 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.021, allocations: 0 / 1.107 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.373e-05/1.021, allocations: 24 kB / 1.107 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/1.022, allocations: 12.3 kB / 1.107 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/1.022, allocations: 148.5 kB / 1.107 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/1.023, allocations: 0.7009 MB / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.578e-05/1.023, allocations: 192 / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/1.023, allocations: 23.42 kB / 1.108 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/1.023, allocations: 0 / 1.108 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/1.044, allocations: 2.183 MB / 1.11 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/1.044, allocations: 192.4 kB / 1.11 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.537, allocations: 4 kB / 1.11 GB, free: 6.133 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)