Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_H",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.47/1.47, allocations: 287.4 MB / 302.6 MB, free: 8.273 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.001008/0.001008, allocations: 190.9 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.266/1.266, 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.0007229/0.0007227, allocations: 104 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003455, allocations: 10.95 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1638, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0006545/0.1645, allocations: 429.7 kB / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006993/0.1652, allocations: 0.836 MB / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.1653, allocations: 4 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.1653, allocations: 3.938 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.1654, allocations: 7.922 kB / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.1655, allocations: 19.98 kB / 0.98 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.168e-05/0.1656, allocations: 51.84 kB / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.019e-05/0.1656, allocations: 19.94 kB / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.217e-05/0.1657, allocations: 23.91 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.85e-05/0.1658, allocations: 15.92 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1658, allocations: 4 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.1658, allocations: 0 / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.1659, allocations: 11.92 kB / 0.9801 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.1659, allocations: 29.7 kB / 0.9801 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.008e-05/0.166, allocations: 48.11 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.166, allocations: 0 / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.166, allocations: 0 / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.166, allocations: 4 kB / 0.9802 GB, free: 26.58 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003323/0.1663, allocations: 363.3 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1664, allocations: 12.02 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.863e-05/0.1664, allocations: 38.69 kB / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.286e-05/0.1664, allocations: 8.844 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.1666, allocations: 200.2 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1666, allocations: 384 / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.1666, allocations: 4.375 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.1668, allocations: 58.23 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.1668, allocations: 3.938 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1668, allocations: 4 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1668, allocations: 0 / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.842e-05/0.1669, allocations: 39.92 kB / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.1672, allocations: 296.8 kB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.1674, allocations: 86.47 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.463e-05/0.1675, allocations: 25 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.1675, allocations: 3.984 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.153e-05/0.1675, allocations: 38.5 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1675, allocations: 0 / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000202/0.1677, allocations: 81.58 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.691e-05/0.1678, allocations: 51.41 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.759e-05/0.1678, allocations: 125.8 kB / 0.9816 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.1678, allocations: 25.7 kB / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.1679, allocations: 92.14 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.1679, allocations: 15.83 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.1679, allocations: 0 / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.869e-05/0.1679, allocations: 318.8 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.446e-05/0.168, allocations: 19.98 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.861e-05/0.1681, allocations: 33.64 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.969e-05/0.1681, allocations: 32.88 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1681, allocations: 0 / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001077/0.1682, allocations: 73.59 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.1683, allocations: 4 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1683, allocations: 0 / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.1683, allocations: 3.984 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.202e-05/0.1683, allocations: 8 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1683, allocations: 4 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.1684, allocations: 11.98 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1684, allocations: 3.938 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.shaH.hys.y,shaH.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.112e-05/0.1685, allocations: 123.1 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.1685, allocations: 7.906 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.1685, allocations: 7.906 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1685, allocations: 0 / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1685, allocations: 3.938 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1685, allocations: 0 / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.1687, allocations: 181.6 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1687, allocations: 3.938 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.1687, allocations: 11.98 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1687, allocations: 0 / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.1687, allocations: 4 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1687, allocations: 0 / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1687, allocations: 0 / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.1689, allocations: 171.3 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.1689, allocations: 77.11 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1689, allocations: 0 / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.169, allocations: 15.98 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.169, allocations: 12.36 kB / 0.9828 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.169, allocations: 0 / 0.9828 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.939e-05/0.1691, allocations: 91.27 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1691, allocations: 0 / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001939/0.1693, allocations: 8 kB / 0.9829 GB, free: 23.5 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: 1 (shaH.hys.y) * Number of discrete states: 1 (shaH.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0002523/0.1695, allocations: 0.7006 MB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.1697, allocations: 43.91 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1697, allocations: 0 / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.504e-05/0.1697, allocations: 16 kB / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.17, allocations: 7.984 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/0.1706, allocations: 0.5135 MB / 0.9841 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.585e-05/0.1708, allocations: 0.6887 MB / 0.9848 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.954e-05/0.1708, allocations: 4 kB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.1708, allocations: 19.42 kB / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.1708, allocations: 0 / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01069/0.1815, allocations: 1.467 MB / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/0.1817, allocations: 178.7 kB / 0.9864 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.374/1.556, allocations: 0 / 0.9864 GB, free: 19.84 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)