Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 289.7 MB / 302.2 MB, free: 2.199 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.001128/0.001128, allocations: 178.5 kB / 371.6 MB, free: 3.406 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.724/1.724, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0009016/0.0009015, allocations: 91.27 kB / 0.745 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.004e-05/4.007e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.309, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9858/1.295, allocations: 140.8 MB / 1.117 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/1.295, allocations: 81.33 kB / 1.117 GB, free: 43.26 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.008025/1.303, allocations: 2.861 MB / 1.12 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.444e-06/1.303, allocations: 1.344 kB / 1.12 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.926e-06/1.303, allocations: 0 / 1.12 GB, free: 41.61 MB / 0.7448 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.0004669/1.304, allocations: 452.4 kB / 1.121 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.304, allocations: 8.031 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/1.304, allocations: 31.25 kB / 1.121 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/1.304, allocations: 10.41 kB / 1.121 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/1.304, allocations: 173.8 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/1.304, allocations: 7.188 kB / 1.121 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/1.304, allocations: 4.75 kB / 1.121 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/1.304, allocations: 62.94 kB / 1.121 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/1.304, allocations: 4 kB / 1.121 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/1.304, allocations: 3.953 kB / 1.121 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.304, allocations: 0 / 1.121 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.402e-05/1.304, allocations: 25.95 kB / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/1.305, allocations: 298.6 kB / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.858e-05/1.305, allocations: 48.08 kB / 1.121 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/1.305, allocations: 26.19 kB / 1.121 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/1.305, allocations: 0 / 1.121 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/1.305, allocations: 69.05 kB / 1.121 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/1.305, allocations: 0 / 1.121 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002589/1.305, allocations: 100.9 kB / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/1.305, allocations: 55.36 kB / 1.122 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.408e-05/1.306, allocations: 120.5 kB / 1.122 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/1.306, allocations: 25.7 kB / 1.122 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/1.306, allocations: 99.39 kB / 1.122 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/1.306, allocations: 26.77 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-06/1.306, allocations: 0 / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.972e-05/1.306, allocations: 317.4 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.392e-05/1.306, allocations: 18.44 kB / 1.122 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.298e-05/1.306, allocations: 52.09 kB / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.413e-05/1.306, allocations: 18.95 kB / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.306, allocations: 0 / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000133/1.306, allocations: 102 kB / 1.122 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/1.306, allocations: 4.938 kB / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/1.306, allocations: 4.938 kB / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.306, allocations: 0 / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.215e-05/1.306, allocations: 19.31 kB / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/1.306, allocations: 4 kB / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.933e-05/1.306, allocations: 14.91 kB / 1.122 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/1.306, allocations: 5.125 kB / 1.122 GB, free: 39.45 MB / 0.7448 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 6.753e-05/1.306, allocations: 115.2 kB / 1.123 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/1.306, allocations: 7.906 kB / 1.123 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/1.306, allocations: 7.438 kB / 1.123 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/1.306, allocations: 0.9375 kB / 1.123 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.306, allocations: 3.516 kB / 1.123 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.307, allocations: 9.016 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/1.307, allocations: 364.7 kB / 1.123 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.307, allocations: 0 / 1.123 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/1.307, allocations: 8 kB / 1.123 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/1.307, allocations: 0.625 kB / 1.123 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/1.307, allocations: 3.422 kB / 1.123 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.307, allocations: 0 / 1.123 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.307, allocations: 3.953 kB / 1.123 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/1.307, allocations: 196.9 kB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/1.307, allocations: 85.52 kB / 1.123 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/1.307, allocations: 4 kB / 1.123 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.611e-05/1.307, allocations: 14.47 kB / 1.123 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/1.307, allocations: 0 / 1.123 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/1.307, allocations: 11.89 kB / 1.123 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.553e-05/1.307, allocations: 91 kB / 1.123 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.307, allocations: 0.8438 kB / 1.123 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002772/1.308, allocations: 54.47 kB / 1.123 GB, free: 38.53 MB / 0.7448 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.0005786/1.308, allocations: 0.7872 MB / 1.124 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001334/1.308, allocations: 63 kB / 1.124 GB, free: 37.72 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.308, allocations: 0 / 1.124 GB, free: 37.72 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.333e-05/1.308, allocations: 29.03 kB / 1.124 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/1.309, allocations: 15.22 kB / 1.124 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/1.309, allocations: 152 kB / 1.124 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/1.309, allocations: 0.6908 MB / 1.125 GB, free: 36.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.42e-05/1.309, allocations: 6.688 kB / 1.125 GB, free: 36.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/1.309, allocations: 22.59 kB / 1.125 GB, free: 36.81 MB / 0.7448 GB Notification: Performance of SimCode: time 2.91e-07/1.309, allocations: 4 kB / 1.125 GB, free: 36.81 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01237/1.322, allocations: 2.49 MB / 1.127 GB, free: 35.47 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001459/1.322, allocations: 216.9 kB / 1.128 GB, free: 35.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/2.933, allocations: 3.938 kB / 1.128 GB, free: 35.23 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)