Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.667/2.667, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001576/0.001576, allocations: 173.2 kB / 370.8 MB, free: 10.87 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.128/2.128, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001131/0.001131, allocations: 98.86 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008039/0.0008039, allocations: 12.64 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.246, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.254, allocations: 139.8 MB / 1.115 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/1.254, allocations: 82.97 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.01266/1.267, allocations: 2.886 MB / 1.118 GB, free: 31.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/1.267, allocations: 0 / 1.118 GB, free: 31.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.418e-06/1.267, allocations: 3.875 kB / 1.118 GB, free: 31.22 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.0006754/1.268, allocations: 456.1 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.268, allocations: 11.64 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.44e-05/1.268, allocations: 39.09 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/1.268, allocations: 3.969 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/1.268, allocations: 183.4 kB / 1.118 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/1.268, allocations: 0 / 1.118 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/1.268, allocations: 11.67 kB / 1.118 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/1.268, allocations: 68.09 kB / 1.118 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.268, allocations: 4 kB / 1.118 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/1.268, allocations: 0 / 1.118 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.268, allocations: 0 / 1.118 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/1.269, allocations: 47.72 kB / 1.118 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/1.269, allocations: 308.5 kB / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/1.27, allocations: 51.12 kB / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/1.27, allocations: 7.719 kB / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/1.27, allocations: 78.44 kB / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/1.27, allocations: 0 / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006267/1.27, allocations: 149.5 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/1.271, allocations: 59.2 kB / 1.119 GB, free: 30.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/1.271, allocations: 110 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/1.271, allocations: 29.7 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.657e-05/1.271, allocations: 94.55 kB / 1.119 GB, free: 29.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/1.271, allocations: 15.59 kB / 1.119 GB, free: 29.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/1.271, allocations: 3.938 kB / 1.119 GB, free: 29.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.271, allocations: 314 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/1.271, allocations: 28.62 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/1.271, allocations: 66.36 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/1.271, allocations: 33.61 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.271, allocations: 4 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003423/1.272, allocations: 114.2 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.272, allocations: 3.844 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/1.272, allocations: 7.812 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.272, allocations: 3.938 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/1.272, allocations: 18.67 kB / 1.12 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/1.272, allocations: 3.906 kB / 1.12 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/1.272, allocations: 14.25 kB / 1.12 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/1.272, allocations: 7.781 kB / 1.12 GB, free: 29.36 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.000125/1.272, allocations: 123.6 kB / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/1.272, allocations: 10.19 kB / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/1.272, allocations: 11.88 kB / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.272, allocations: 0 / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.272, allocations: 4 kB / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/1.272, allocations: 0 / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006908/1.273, allocations: 380.9 kB / 1.12 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.273, allocations: 0 / 1.12 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/1.273, allocations: 7.812 kB / 1.12 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/1.273, allocations: 0 / 1.12 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/1.273, allocations: 15.06 kB / 1.12 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.273, allocations: 0 / 1.12 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.273, allocations: 3.953 kB / 1.12 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/1.274, allocations: 212.7 kB / 1.121 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/1.274, allocations: 79.45 kB / 1.121 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/1.274, allocations: 7.781 kB / 1.121 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/1.274, allocations: 10.25 kB / 1.121 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/1.274, allocations: 10.7 kB / 1.121 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/1.274, allocations: 0 / 1.121 GB, free: 28.69 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.061e-05/1.274, allocations: 90.2 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.274, allocations: 0 / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004384/1.275, allocations: 53.14 kB / 1.121 GB, free: 28.6 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.001137/1.276, allocations: 0.8163 MB / 1.122 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003423/1.276, allocations: 78.17 kB / 1.122 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/1.276, allocations: 0 / 1.122 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/1.276, allocations: 42.47 kB / 1.122 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/1.277, allocations: 13.39 kB / 1.122 GB, free: 27.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/1.278, allocations: 1.203 MB / 1.123 GB, free: 26.74 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/1.278, allocations: 0.6972 MB / 1.124 GB, free: 26.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.202e-05/1.278, allocations: 5.938 kB / 1.124 GB, free: 26.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/1.278, allocations: 19.14 kB / 1.124 GB, free: 26.03 MB / 0.698 GB Notification: Performance of SimCode: time 1.163e-06/1.278, allocations: 0 / 1.124 GB, free: 26.03 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/1.299, allocations: 2.494 MB / 1.126 GB, free: 25.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/1.299, allocations: 237 kB / 1.126 GB, free: 25.56 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/3.738, allocations: 3.875 kB / 1.126 GB, free: 25.56 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)