Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009766/0.0009766, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 190.9 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.657/1.657, allocations: 292.3 MB / 0.5486 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 68.44 kB / 0.6711 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.258, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002464/0.2605, allocations: 0.7699 MB / 0.7837 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.2617, allocations: 0.8409 MB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.401e-05/0.2618, allocations: 0 / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.725e-05/0.2619, allocations: 3.938 kB / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.262, allocations: 7.938 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.2622, allocations: 23.97 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.2623, allocations: 55.84 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.2625, allocations: 16 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.2626, allocations: 31.86 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.577e-05/0.2627, allocations: 27.84 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.2627, allocations: 8 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.2627, allocations: 4 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.2628, allocations: 15.92 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.2628, allocations: 27.86 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.263, allocations: 68.05 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.263, allocations: 0 / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.263, allocations: 7.938 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.263, allocations: 0 / 0.7848 GB, free: 11.88 MB / 0.6075 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.0005192/0.2635, allocations: 359.3 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.2636, allocations: 12.03 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.2636, allocations: 42.73 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.2637, allocations: 8.844 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.264, allocations: 192.2 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.264, allocations: 4.375 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.264, allocations: 4.375 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.2642, allocations: 62.16 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2642, allocations: 3.938 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2642, allocations: 4 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2642, allocations: 0 / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.651e-05/0.2643, allocations: 23.98 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.2648, allocations: 308.7 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.2651, allocations: 70.47 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.2652, allocations: 25 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.2652, allocations: 0 / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.2652, allocations: 30.56 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.2652, allocations: 0 / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002605/0.2655, allocations: 73.55 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.2656, allocations: 55.41 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2657, allocations: 129.8 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.2657, allocations: 29.7 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.2658, allocations: 88.05 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.2658, allocations: 19.83 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.2659, allocations: 13.72 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.266, allocations: 318.8 kB / 0.7866 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.504e-05/0.266, allocations: 15.98 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.303e-05/0.2661, allocations: 37.83 kB / 0.7867 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.281e-05/0.2662, allocations: 32.92 kB / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2662, allocations: 0 / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001414/0.2664, allocations: 73.52 kB / 0.7868 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2664, allocations: 4 kB / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2664, allocations: 0 / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2664, allocations: 0 / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.2665, allocations: 4 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2665, allocations: 0 / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.2665, allocations: 16.02 kB / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.2666, allocations: 0 / 0.7868 GB, free: 9.621 MB / 0.6075 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 (shaH.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.851e-05/0.2667, allocations: 117.8 kB / 0.7869 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.2667, allocations: 0 / 0.7869 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.2667, allocations: 15.89 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2667, allocations: 0 / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2667, allocations: 0 / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2668, allocations: 0 / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.2669, allocations: 173.6 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.267, allocations: 4 kB / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.267, allocations: 7.984 kB / 0.7871 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.267, allocations: 3.938 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.267, allocations: 0 / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.267, allocations: 4 kB / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.267, allocations: 4 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.2672, allocations: 159.4 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.2673, allocations: 89.02 kB / 0.7874 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.2673, allocations: 0 / 0.7874 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.2674, allocations: 7.984 kB / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.2674, allocations: 7.984 kB / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.2675, allocations: 0 / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.907e-05/0.2675, allocations: 99.27 kB / 0.7875 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2675, allocations: 0 / 0.7875 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002153/0.2678, allocations: 4 kB / 0.7875 GB, free: 8.836 MB / 0.6075 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 (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.0004989/0.2683, allocations: 0.7005 MB / 0.7882 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001614/0.2684, allocations: 35.97 kB / 0.7882 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2684, allocations: 4 kB / 0.7882 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.854e-05/0.2685, allocations: 11.94 kB / 0.7882 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.2688, allocations: 15.98 kB / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.2703, allocations: 1.341 MB / 0.7895 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.2706, allocations: 0.6846 MB / 0.7902 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.674e-05/0.2707, allocations: 8 kB / 0.7902 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.2707, allocations: 23.42 kB / 0.7902 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2707, allocations: 0 / 0.7902 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01066/0.2814, allocations: 1.567 MB / 0.7918 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/0.2817, allocations: 208.2 kB / 0.792 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/1.992, allocations: 0 / 0.792 GB, free: 4.152 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)