Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.375/1.375, allocations: 251.5 MB / 266.7 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000927/0.0009271, allocations: 178 kB / 325.8 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006641/0.0006642, allocations: 82.31 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002809/0.0002809, allocations: 9.562 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1556, allocations: 105.4 MB / 0.8962 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001201/0.1568, allocations: 1.231 MB / 0.8974 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009037/0.1577, allocations: 0.7765 MB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.1578, allocations: 4 kB / 0.8982 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.1578, allocations: 3.984 kB / 0.8982 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.1579, allocations: 7.875 kB / 0.8982 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.1582, allocations: 103.8 kB / 0.8983 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.435e-05/0.1583, allocations: 63.78 kB / 0.8983 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.791e-05/0.1584, allocations: 12 kB / 0.8983 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.1584, allocations: 31.84 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.35e-05/0.1585, allocations: 31.84 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1585, allocations: 4 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1587, allocations: 83.91 kB / 0.8985 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.1587, allocations: 15.98 kB / 0.8985 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.1587, allocations: 35.78 kB / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.1589, allocations: 135.6 kB / 0.8987 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1589, allocations: 0 / 0.8987 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1589, allocations: 0 / 0.8987 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.1589, allocations: 0 / 0.8987 GB, free: 65.46 MB / 0.6042 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.0003702/0.1593, allocations: 426.8 kB / 0.8991 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1593, allocations: 12.03 kB / 0.8991 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.1593, allocations: 38.75 kB / 0.8991 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.1594, allocations: 8.844 kB / 0.8991 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.022e-05/0.1594, allocations: 168.3 kB / 0.8993 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1595, allocations: 4.375 kB / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1595, allocations: 8.375 kB / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.1596, allocations: 73.72 kB / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.1596, allocations: 0 / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1597, allocations: 4 kB / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1597, allocations: 4 kB / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.1598, allocations: 39.97 kB / 0.8994 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.1601, allocations: 312.6 kB / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.1602, allocations: 54.5 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.869e-05/0.1603, allocations: 32.97 kB / 0.8998 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.1603, allocations: 0 / 0.8998 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.1605, allocations: 87.36 kB / 0.8999 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1605, allocations: 0 / 0.8999 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003078/0.1608, allocations: 141.6 kB / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.1608, allocations: 59.34 kB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.518e-05/0.1609, allocations: 121.7 kB / 0.9002 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.1609, allocations: 45.62 kB / 0.9002 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.453e-05/0.1609, allocations: 84.14 kB / 0.9003 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.161, allocations: 19.88 kB / 0.9003 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.161, allocations: 17.7 kB / 0.9004 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.6e-05/0.161, allocations: 322.8 kB / 0.9007 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.1611, allocations: 27.98 kB / 0.9007 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.504e-05/0.1612, allocations: 61.12 kB / 0.9007 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1613, allocations: 97.08 kB / 0.9008 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1613, allocations: 3.984 kB / 0.9008 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001738/0.1615, allocations: 125.5 kB / 0.901 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.1615, allocations: 4 kB / 0.901 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1615, allocations: 4 kB / 0.901 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.1615, allocations: 0 / 0.901 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.091e-05/0.1616, allocations: 15.94 kB / 0.901 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1616, allocations: 0 / 0.901 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.1617, allocations: 19.92 kB / 0.901 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1617, allocations: 4 kB / 0.901 GB, free: 62.79 MB / 0.6042 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 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.219e-05/0.1617, allocations: 125.8 kB / 0.9011 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.1618, allocations: 7.906 kB / 0.9011 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.035e-05/0.1618, allocations: 12.36 kB / 0.9011 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1618, allocations: 4 kB / 0.9011 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1618, allocations: 48 / 0.9011 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1618, allocations: 3.984 kB / 0.9012 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.1621, allocations: 378.5 kB / 0.9015 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1621, allocations: 0 / 0.9015 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.1622, allocations: 4 kB / 0.9015 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1622, allocations: 3.938 kB / 0.9015 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1622, allocations: 11.98 kB / 0.9015 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1622, allocations: 7.875 kB / 0.9015 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1622, allocations: 0 / 0.9015 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.1624, allocations: 215.4 kB / 0.9017 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.1624, allocations: 81.02 kB / 0.9018 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1625, allocations: 3.984 kB / 0.9018 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.1626, allocations: 7.938 kB / 0.9018 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.1626, allocations: 11.98 kB / 0.9018 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.1626, allocations: 4 kB / 0.9018 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.64e-05/0.1626, allocations: 99.86 kB / 0.9019 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.1626, allocations: 0 / 0.9019 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002333/0.1629, allocations: 39.94 kB / 0.902 GB, free: 61.68 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004997/0.1634, allocations: 0.8031 MB / 0.9028 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.1636, allocations: 72.14 kB / 0.9028 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1636, allocations: 4.062 kB / 0.9028 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.141e-05/0.1637, allocations: 43.95 kB / 0.9029 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.1639, allocations: 19.25 kB / 0.9029 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009925/0.1649, allocations: 1.517 MB / 0.9044 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.343e-05/0.165, allocations: 0.6964 MB / 0.9051 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.001e-05/0.165, allocations: 7.984 kB / 0.9051 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.1651, allocations: 19.44 kB / 0.9051 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1651, allocations: 0 / 0.9051 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2788/0.4438, allocations: 2.334 MB / 0.9074 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.444, allocations: 268.2 kB / 0.9076 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/2.982, allocations: 4 kB / 0.9076 GB, free: 55.84 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)