Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.418/1.418, allocations: 288.4 MB / 303.6 MB, free: 8.074 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.0008356/0.0008356, allocations: 190.9 kB / 372.3 MB, free: 10.13 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.2/1.2, allocations: 205.4 MB / 0.631 GB, free: 9.914 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.0006696/0.0006696, allocations: 86.38 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 11.97 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1533, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001288/0.1546, allocations: 1.195 MB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009392/0.1556, allocations: 0.7188 MB / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/0.1557, allocations: 0 / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.1557, allocations: 3.938 kB / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.1558, allocations: 11.92 kB / 0.9821 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.1562, allocations: 91.77 kB / 0.9822 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.109e-05/0.1563, allocations: 59.78 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.008e-05/0.1564, allocations: 16 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.872e-05/0.1565, allocations: 27.91 kB / 0.9823 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.03e-05/0.1565, allocations: 27.84 kB / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1565, allocations: 4 kB / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1567, allocations: 87.84 kB / 0.9824 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.1567, allocations: 15.92 kB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.141e-05/0.1567, allocations: 53.55 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.1569, allocations: 96.06 kB / 0.9825 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1569, allocations: 0 / 0.9825 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1569, allocations: 0 / 0.9825 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.1569, allocations: 7.938 kB / 0.9825 GB, free: 24.84 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.000412/0.1573, allocations: 428.8 kB / 0.9829 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1574, allocations: 8.031 kB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.1574, allocations: 42.73 kB / 0.983 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.1574, allocations: 4.844 kB / 0.983 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.87e-05/0.1575, allocations: 176.2 kB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1575, allocations: 8.359 kB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.1576, allocations: 12.38 kB / 0.9832 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1577, allocations: 73.77 kB / 0.9833 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1577, allocations: 0 / 0.9833 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1577, allocations: 0 / 0.9833 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1578, allocations: 4 kB / 0.9833 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.1579, allocations: 39.97 kB / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.1583, allocations: 296.8 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.1584, allocations: 54.56 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.1585, allocations: 40.95 kB / 0.9837 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.1585, allocations: 0 / 0.9837 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.1587, allocations: 75.38 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1587, allocations: 0 / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003442/0.159, allocations: 161.5 kB / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.1591, allocations: 51.41 kB / 0.9839 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.872e-05/0.1591, allocations: 125.8 kB / 0.9841 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.1591, allocations: 25.7 kB / 0.9841 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.1592, allocations: 99.98 kB / 0.9842 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.1592, allocations: 11.89 kB / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.1592, allocations: 4 kB / 0.9842 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.175e-05/0.1593, allocations: 322.8 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.3e-05/0.1593, allocations: 23.98 kB / 0.9845 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-05/0.1594, allocations: 65.12 kB / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1595, allocations: 93.02 kB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1596, allocations: 4 kB / 0.9847 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001839/0.1597, allocations: 121.5 kB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.1598, allocations: 4 kB / 0.9848 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1598, allocations: 7.984 kB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1598, allocations: 3.984 kB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.538e-05/0.1599, allocations: 16.16 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1599, allocations: 4 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.618e-05/0.1599, allocations: 15.83 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.16, allocations: 4 kB / 0.9849 GB, free: 22.19 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.911e-05/0.16, allocations: 131.2 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.16, allocations: 4 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.894e-05/0.1601, allocations: 8.375 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1601, allocations: 4 kB / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1601, allocations: 4 kB / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1601, allocations: 3.984 kB / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.1604, allocations: 394.3 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1604, allocations: 0 / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.1605, allocations: 4 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1605, allocations: 0 / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1605, allocations: 8 kB / 0.9854 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1605, allocations: 3.938 kB / 0.9854 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1605, allocations: 3.984 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.1607, allocations: 203.4 kB / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.1607, allocations: 85.05 kB / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.1608, allocations: 4 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.1609, allocations: 15.92 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.1609, allocations: 7.984 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.1609, allocations: 7.938 kB / 0.9857 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.775e-05/0.1609, allocations: 91.92 kB / 0.9858 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1609, allocations: 0 / 0.9858 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000249/0.1612, allocations: 36 kB / 0.9858 GB, free: 21.1 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.0005387/0.1617, allocations: 0.8067 MB / 0.9866 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.1619, allocations: 71.91 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1619, allocations: 0 / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.841e-05/0.162, allocations: 44.45 kB / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.1623, allocations: 20.94 kB / 0.9867 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007405/0.163, allocations: 0.6108 MB / 0.9873 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.672e-05/0.1631, allocations: 0.6926 MB / 0.988 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.929e-05/0.1632, allocations: 7.984 kB / 0.988 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.1632, allocations: 15.44 kB / 0.988 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.01e-07/0.1632, allocations: 0 / 0.988 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5196/0.6829, allocations: 2.32 MB / 0.9903 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.6831, allocations: 258.3 kB / 0.9906 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.25, allocations: 4 kB / 0.9906 GB, free: 16.23 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)