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 1.412/1.412, allocations: 287.4 MB / 302.6 MB, free: 8.301 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.0008617/0.0008619, allocations: 186 kB / 371.1 MB, free: 10.83 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.142/1.142, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0006799/0.0006802, allocations: 89.23 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003049, allocations: 19.47 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1427, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001101/0.1438, allocations: 1.203 MB / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008292/0.1447, allocations: 0.7112 MB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.1447, allocations: 0 / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.1448, allocations: 3.938 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.1448, allocations: 7.938 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.1451, allocations: 91.77 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.621e-05/0.1452, allocations: 59.78 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/0.1453, allocations: 15.98 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.246e-05/0.1454, allocations: 31.91 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.184e-05/0.1454, allocations: 27.84 kB / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.1454, allocations: 4 kB / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.1456, allocations: 79.91 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.1456, allocations: 19.92 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.1456, allocations: 33.64 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.1457, allocations: 108 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1457, allocations: 0 / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1457, allocations: 0 / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.1458, allocations: 0 / 0.9811 GB, free: 25.69 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.0003565/0.1461, allocations: 430.7 kB / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.716e-05/0.1461, allocations: 12.03 kB / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.87e-05/0.1462, allocations: 38.75 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.243e-05/0.1462, allocations: 8.844 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.615e-05/0.1463, allocations: 172.2 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1463, allocations: 4.375 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.1463, allocations: 8.375 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1465, allocations: 73.77 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.1465, allocations: 0 / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1465, allocations: 4 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1465, allocations: 4 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1466, allocations: 43.91 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.1469, allocations: 296.8 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.1471, allocations: 58.56 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.099e-05/0.1471, allocations: 32.97 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.1472, allocations: 3.984 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.1473, allocations: 83.31 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1473, allocations: 0 / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003078/0.1476, allocations: 153.6 kB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.807e-05/0.1476, allocations: 51.41 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.106e-05/0.1477, allocations: 129.7 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.1477, allocations: 25.7 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.531e-05/0.1477, allocations: 104 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/0.1477, allocations: 7.906 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.1477, allocations: 4 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.367e-05/0.1478, allocations: 326.7 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/0.1479, allocations: 27.92 kB / 0.9831 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.545e-05/0.1479, allocations: 65.14 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1481, allocations: 93.06 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1481, allocations: 0 / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001732/0.1482, allocations: 121.5 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/0.1483, allocations: 8 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1483, allocations: 0 / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.1483, allocations: 0 / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.1484, allocations: 23.92 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1484, allocations: 4 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.1484, allocations: 7.906 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.1484, allocations: 7.938 kB / 0.9834 GB, free: 23.03 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.44e-05/0.1485, allocations: 133.8 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.1485, allocations: 8 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.1485, allocations: 12.38 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1485, allocations: 0 / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.1486, allocations: 0 / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1486, allocations: 0 / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.1489, allocations: 394.3 kB / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1489, allocations: 0 / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.1489, allocations: 7.984 kB / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1489, allocations: 4 kB / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1489, allocations: 0 / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1489, allocations: 3.938 kB / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1489, allocations: 0 / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.1492, allocations: 219.3 kB / 0.9841 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.1492, allocations: 77.11 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.1492, allocations: 0 / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.1493, allocations: 15.92 kB / 0.9842 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.1493, allocations: 4 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.1493, allocations: 4 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.814e-05/0.1494, allocations: 99.2 kB / 0.9843 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1494, allocations: 0 / 0.9843 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002232/0.1496, allocations: 39.98 kB / 0.9844 GB, free: 21.93 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.0004676/0.1501, allocations: 0.8163 MB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001733/0.1503, allocations: 72.16 kB / 0.9852 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1503, allocations: 4.062 kB / 0.9852 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/0.1503, allocations: 35.98 kB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.1506, allocations: 21.75 kB / 0.9853 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000673/0.1512, allocations: 0.612 MB / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.351e-05/0.1513, allocations: 0.6887 MB / 0.9866 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.797e-05/0.1514, allocations: 0 / 0.9866 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.1514, allocations: 23.42 kB / 0.9866 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.1514, allocations: 0 / 0.9866 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7695/0.921, allocations: 2.299 MB / 0.9888 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003511/0.9214, allocations: 251 kB / 0.9891 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.708, allocations: 0 / 0.9891 GB, free: 17.19 MB / 0.6198 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)