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 1.425/1.425, allocations: 287.4 MB / 302.6 MB, free: 8.289 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.0008705/0.0008705, allocations: 182.7 kB / 371.1 MB, free: 10.82 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.116/1.116, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0006737/0.0006738, allocations: 80.17 kB / 0.7431 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 15.94 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1475, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001181/0.1487, allocations: 1.199 MB / 0.9799 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008565/0.1496, allocations: 0.7151 MB / 0.9806 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.1496, allocations: 0 / 0.9806 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.1497, allocations: 3.938 kB / 0.9806 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.08e-05/0.1497, allocations: 7.938 kB / 0.9806 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.1501, allocations: 87.77 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.414e-05/0.1502, allocations: 59.78 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.509e-05/0.1503, allocations: 19.98 kB / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.962e-05/0.1503, allocations: 31.91 kB / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.1504, allocations: 27.84 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.1504, allocations: 4 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1506, allocations: 83.84 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.1506, allocations: 11.98 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.1506, allocations: 37.64 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.1507, allocations: 100 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1507, allocations: 4 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1508, allocations: 0 / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.1508, allocations: 0 / 0.9811 GB, free: 25.67 MB / 0.6198 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.0003925/0.1512, allocations: 434.6 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1512, allocations: 8.031 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.656e-05/0.1512, allocations: 38.75 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.1513, allocations: 12.83 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.826e-05/0.1513, allocations: 172.2 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.1514, allocations: 4.375 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.1514, allocations: 8.375 kB / 0.9817 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.1515, allocations: 69.78 kB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1515, allocations: 0 / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1516, allocations: 7.938 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.1516, allocations: 0 / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1517, allocations: 43.97 kB / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.1521, allocations: 300.8 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.1522, allocations: 50.56 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/0.1522, allocations: 36.97 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1523, allocations: 3.938 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.1524, allocations: 75.38 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.1524, allocations: 4 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003216/0.1528, allocations: 149.5 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.1528, allocations: 55.47 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.615e-05/0.1529, allocations: 125.8 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.1529, allocations: 25.7 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.828e-05/0.1529, allocations: 100 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.1529, allocations: 11.84 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.1529, allocations: 8 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.587e-05/0.153, allocations: 322.8 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.153, allocations: 27.92 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-05/0.1531, allocations: 65.14 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1533, allocations: 97.06 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1533, allocations: 0 / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001761/0.1534, allocations: 121.4 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.1535, allocations: 8 kB / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1535, allocations: 0 / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1535, allocations: 160 / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.503e-05/0.1536, allocations: 23.92 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1536, allocations: 4 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.454e-05/0.1536, allocations: 7.906 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1537, allocations: 7.984 kB / 0.9834 GB, free: 23.02 MB / 0.6198 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,occ.y,$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 5.285e-05/0.1537, allocations: 129.7 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.1537, allocations: 4 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.018e-05/0.1538, allocations: 12.38 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1538, allocations: 0 / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1538, allocations: 3.938 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1538, allocations: 0 / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.1541, allocations: 390.3 kB / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1541, allocations: 0 / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.1542, allocations: 7.984 kB / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1542, allocations: 8 kB / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.1542, allocations: 4 kB / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1542, allocations: 3.938 kB / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1542, allocations: 0 / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.1544, allocations: 215.3 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.1544, allocations: 81.11 kB / 0.9842 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1544, allocations: 0 / 0.9842 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.1545, allocations: 15.92 kB / 0.9842 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.1546, allocations: 4 kB / 0.9842 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.1546, allocations: 7.984 kB / 0.9842 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.701e-05/0.1546, allocations: 91.22 kB / 0.9843 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1546, allocations: 0 / 0.9843 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000242/0.1549, allocations: 39.98 kB / 0.9844 GB, free: 21.92 MB / 0.6198 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,occ.y,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.0005113/0.1554, allocations: 0.8124 MB / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.1556, allocations: 75.94 kB / 0.9852 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1556, allocations: 0 / 0.9852 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.324e-05/0.1557, allocations: 43.97 kB / 0.9853 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.1559, allocations: 18.78 kB / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007216/0.1566, allocations: 0.6159 MB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.02e-05/0.1567, allocations: 0.6888 MB / 0.9866 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.126e-05/0.1568, allocations: 3.984 kB / 0.9866 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.1568, allocations: 19.44 kB / 0.9866 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1568, allocations: 0 / 0.9866 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3747/0.5315, allocations: 2.31 MB / 0.9888 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/0.5317, allocations: 234.1 kB / 0.9891 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.978/2.51, allocations: 0 / 0.9891 GB, free: 17.18 MB / 0.6198 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)