Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.674/2.674, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001648/0.001648, allocations: 186 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.225/2.225, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001166/0.001166, allocations: 97.41 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004716, allocations: 12.89 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.244, allocations: 115.3 MB / 0.9783 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.001358/0.2455, allocations: 0.8337 MB / 0.9791 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002985/0.2485, allocations: 1.901 MB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.2487, allocations: 0 / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.2488, allocations: 7.875 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.249, allocations: 95.73 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004559/0.2536, allocations: 1.274 MB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.2547, allocations: 0.5811 MB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2548, allocations: 24.75 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005653/0.2554, allocations: 415.3 kB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.2559, allocations: 331 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000215/0.2561, allocations: 56 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.2564, allocations: 75.98 kB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.2565, allocations: 47.83 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.2567, allocations: 125.6 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007892/0.2575, allocations: 0.6625 MB / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2575, allocations: 0 / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2575, allocations: 4 kB / 0.9846 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.2575, allocations: 4 kB / 0.9846 GB, free: 21.85 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.001161/0.2587, allocations: 1 MB / 0.9856 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.2588, allocations: 8.031 kB / 0.9856 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.2588, allocations: 42.55 kB / 0.9856 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003058/0.2591, allocations: 63.62 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.2593, allocations: 219.1 kB / 0.9859 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/0.2594, allocations: 35.98 kB / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.2597, allocations: 67.98 kB / 0.986 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.26, allocations: 216.6 kB / 0.9862 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.26, allocations: 3.938 kB / 0.9862 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.2601, allocations: 4 kB / 0.9862 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.966e-06/0.2601, allocations: 4 kB / 0.9862 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.2603, allocations: 67.78 kB / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.2614, allocations: 0.8483 MB / 0.9871 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.2617, allocations: 323.2 kB / 0.9874 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.2617, allocations: 15.98 kB / 0.9874 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007593/0.2625, allocations: 459.1 kB / 0.9878 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 3.557e-06/0.2625, allocations: 0 / 0.9878 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.00165/0.2642, allocations: 0.5577 MB / 0.9884 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.2644, allocations: 439.1 kB / 0.9888 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.2647, allocations: 292.4 kB / 0.9891 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003234/0.2651, allocations: 65.69 kB / 0.9892 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.2653, allocations: 169.2 kB / 0.9893 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.2654, allocations: 86.95 kB / 0.9894 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.2656, allocations: 32 kB / 0.9894 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.2657, allocations: 362.7 kB / 0.9898 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.2672, allocations: 421.3 kB / 0.9902 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.2687, allocations: 0.6989 MB / 0.9909 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.2702, allocations: 0.8179 MB / 0.9917 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.2702, allocations: 8 kB / 0.9917 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004298/0.2746, allocations: 1.713 MB / 0.9933 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000265/0.2749, allocations: 477.4 kB / 0.9938 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.2749, allocations: 12 kB / 0.9938 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.42e-05/0.275, allocations: 16 kB / 0.9938 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.069e-05/0.2751, allocations: 35.8 kB / 0.9939 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.228e-05/0.2751, allocations: 27.86 kB / 0.9939 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004707/0.2798, allocations: 0.5624 MB / 0.9944 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000455/0.2803, allocations: 99.92 kB / 0.9945 GB, free: 10.58 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.0004753/0.2808, allocations: 221.5 kB / 0.9947 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.2809, allocations: 43.53 kB / 0.9948 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.281, allocations: 38.14 kB / 0.9948 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.2811, allocations: 8 kB / 0.9948 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.2811, allocations: 8 kB / 0.9948 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.2811, allocations: 7.984 kB / 0.9948 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.2816, allocations: 337.2 kB / 0.9952 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.2816, allocations: 0 / 0.9952 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.2816, allocations: 23.92 kB / 0.9952 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/0.2817, allocations: 8 kB / 0.9952 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.2817, allocations: 15.98 kB / 0.9952 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.2817, allocations: 7.938 kB / 0.9952 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.2817, allocations: 4 kB / 0.9952 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.2828, allocations: 0.6799 MB / 0.9959 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.932e-05/0.2829, allocations: 108.7 kB / 0.996 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/0.283, allocations: 19.98 kB / 0.996 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.2832, allocations: 15.98 kB / 0.996 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.2833, allocations: 59.83 kB / 0.9961 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.2834, allocations: 27.98 kB / 0.9961 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002048/0.2836, allocations: 191.1 kB / 0.9963 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2836, allocations: 0 / 0.9963 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001215/0.2848, allocations: 200 kB / 0.9965 GB, free: 8.348 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.001472/0.2863, allocations: 2.212 MB / 0.9986 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002935/0.2893, allocations: 1.751 MB / 1 GB, free: 4.078 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/0.2894, allocations: 0 / 1 GB, free: 4.078 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004602/0.2898, allocations: 176.6 kB / 1.001 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.2909, allocations: 114.1 kB / 1.001 GB, free: 3.793 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005368/0.2963, allocations: 7.848 MB / 1.008 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/0.2969, allocations: 0.7839 MB / 1.009 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002718/0.2972, allocations: 50.95 kB / 1.009 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.2975, allocations: 111.4 kB / 1.009 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.372e-06/0.2975, allocations: 0 / 1.009 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04984/0.3473, allocations: 13.66 MB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003555/0.3478, allocations: 216.2 kB / 1.023 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.068/3.416, allocations: 6.969 kB / 1.023 GB, free: 13.07 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime_fmu --startTime=9 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)