Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",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.679/1.679, allocations: 288.2 MB / 303.2 MB, free: 8.082 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.001187/0.001187, allocations: 181.9 kB / 371.8 MB, free: 10.29 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.873/1.873, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001014/0.001014, allocations: 90.86 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004076, allocations: 16.44 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.273, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.00141/0.2745, allocations: 0.834 MB / 0.9803 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002016/0.2765, allocations: 1.886 MB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.2766, allocations: 11.94 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.2766, allocations: 7.875 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.2768, allocations: 91.73 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.2793, allocations: 1.282 MB / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005702/0.2799, allocations: 0.5772 MB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.408e-05/0.28, allocations: 16.75 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/0.2803, allocations: 423.3 kB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/0.2806, allocations: 327.1 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.2808, allocations: 60 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.281, allocations: 71.98 kB / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.281, allocations: 55.81 kB / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.2812, allocations: 117.6 kB / 0.9851 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005114/0.2817, allocations: 0.6664 MB / 0.9858 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2817, allocations: 0 / 0.9858 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2817, allocations: 3.938 kB / 0.9858 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.2817, allocations: 0 / 0.9858 GB, free: 21.2 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008665/0.2826, allocations: 1.004 MB / 0.9867 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.2827, allocations: 12.03 kB / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.2827, allocations: 38.55 kB / 0.9868 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.2829, allocations: 71.61 kB / 0.9869 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.283, allocations: 215.2 kB / 0.9871 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/0.2831, allocations: 35.98 kB / 0.9871 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.2832, allocations: 67.98 kB / 0.9872 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.2835, allocations: 216.9 kB / 0.9874 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2835, allocations: 0 / 0.9874 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.2835, allocations: 15.97 kB / 0.9874 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.2835, allocations: 0 / 0.9874 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.2836, allocations: 67.78 kB / 0.9874 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00068/0.2843, allocations: 0.8444 MB / 0.9883 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.2845, allocations: 323.2 kB / 0.9886 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.2845, allocations: 8.062 kB / 0.9886 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005142/0.2851, allocations: 474.8 kB / 0.989 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 1.853e-06/0.2851, allocations: 0 / 0.989 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.0008451/0.2859, allocations: 0.5575 MB / 0.9896 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.2861, allocations: 439.2 kB / 0.99 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.2863, allocations: 292.4 kB / 0.9903 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.2864, allocations: 65.7 kB / 0.9903 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.2866, allocations: 165.2 kB / 0.9905 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.958e-05/0.2867, allocations: 94.94 kB / 0.9906 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.2868, allocations: 32 kB / 0.9906 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2869, allocations: 350.8 kB / 0.991 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007458/0.2877, allocations: 425.3 kB / 0.9914 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000866/0.2886, allocations: 0.7027 MB / 0.9921 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007971/0.2894, allocations: 0.8142 MB / 0.9928 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.2894, allocations: 4 kB / 0.9929 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002204/0.2916, allocations: 1.725 MB / 0.9945 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002353/0.2918, allocations: 483.1 kB / 0.995 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.2919, allocations: 8 kB / 0.995 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/0.2919, allocations: 16 kB / 0.995 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-05/0.292, allocations: 35.8 kB / 0.9951 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.292, allocations: 19.92 kB / 0.9951 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/0.2945, allocations: 0.5697 MB / 0.9956 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.2947, allocations: 95.92 kB / 0.9957 GB, free: 9.918 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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 0.0003246/0.295, allocations: 222 kB / 0.9959 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/0.2951, allocations: 39.53 kB / 0.996 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.718e-05/0.2952, allocations: 38.14 kB / 0.996 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.2952, allocations: 11.98 kB / 0.996 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.2952, allocations: 4 kB / 0.996 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.2952, allocations: 4 kB / 0.996 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.2956, allocations: 337.2 kB / 0.9963 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2956, allocations: 4 kB / 0.9964 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.2956, allocations: 23.92 kB / 0.9964 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.2956, allocations: 4 kB / 0.9964 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.2956, allocations: 23.92 kB / 0.9964 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.2957, allocations: 7.984 kB / 0.9964 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2957, allocations: 4 kB / 0.9964 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006153/0.2963, allocations: 0.6797 MB / 0.9971 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.2964, allocations: 108.7 kB / 0.9972 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.2964, allocations: 15.98 kB / 0.9972 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.2965, allocations: 16 kB / 0.9972 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.627e-05/0.2966, allocations: 63.83 kB / 0.9973 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.2967, allocations: 31.97 kB / 0.9973 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000155/0.2968, allocations: 183.1 kB / 0.9975 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2968, allocations: 0 / 0.9975 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006237/0.2975, allocations: 196 kB / 0.9977 GB, free: 7.695 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.001041/0.2985, allocations: 2.223 MB / 0.9998 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001488/0.3, allocations: 1.744 MB / 1.002 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3, allocations: 4.062 kB / 1.002 GB, free: 3.418 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.3002, allocations: 180.8 kB / 1.002 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006221/0.3009, allocations: 114.5 kB / 1.002 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.305, allocations: 7.837 MB / 1.009 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.3055, allocations: 0.78 MB / 1.01 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002063/0.3057, allocations: 47.23 kB / 1.01 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.306, allocations: 107.4 kB / 1.01 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of SimCode: time 2.465e-06/0.306, allocations: 4 kB / 1.01 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03675/0.3427, allocations: 13.67 MB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.343, allocations: 216.5 kB / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/2.671, allocations: 0 / 1.024 GB, free: 12.46 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime_fmu --startTime=9 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)