Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 104.5 kB / 15.98 MB, free: 6.352 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.001168/0.001168, allocations: 193.2 kB / 16.91 MB, free: 6.195 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.561/1.561, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.7/1.7, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.001431/0.001431, allocations: 71.2 kB / 0.6717 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2602, allocations: 114.5 MB / 0.7835 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.002599/0.2629, allocations: 1.222 MB / 0.7847 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002784/0.2657, allocations: 2.166 MB / 0.7869 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.2658, allocations: 7.938 kB / 0.7869 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.608e-05/0.2659, allocations: 11.86 kB / 0.7869 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.2661, allocations: 71.34 kB / 0.7869 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003122/0.2693, allocations: 1.323 MB / 0.7882 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001489/0.2708, allocations: 1.287 MB / 0.7895 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2709, allocations: 16.75 kB / 0.7895 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006546/0.2715, allocations: 487.2 kB / 0.79 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.2719, allocations: 347 kB / 0.7903 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.2721, allocations: 104 kB / 0.7904 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.2723, allocations: 120 kB / 0.7905 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.2724, allocations: 63.81 kB / 0.7906 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004146/0.2728, allocations: 395 kB / 0.791 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006873/0.2735, allocations: 0.6783 MB / 0.7916 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.2735, allocations: 3.984 kB / 0.7916 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2735, allocations: 0 / 0.7916 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.2735, allocations: 0 / 0.7916 GB, free: 5.602 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001434/0.275, allocations: 1.176 MB / 0.7928 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.275, allocations: 12.03 kB / 0.7928 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.2753, allocations: 64.64 kB / 0.7928 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.2755, allocations: 224.3 kB / 0.7931 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.2755, allocations: 32.38 kB / 0.7931 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.2757, allocations: 76.3 kB / 0.7932 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.276, allocations: 210 kB / 0.7934 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.276, allocations: 192 / 0.7934 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.2761, allocations: 15.86 kB / 0.7934 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.2761, allocations: 8 kB / 0.7934 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.2762, allocations: 67.78 kB / 0.7934 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009446/0.2772, allocations: 0.8366 MB / 0.7943 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.2775, allocations: 327.2 kB / 0.7946 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.2777, allocations: 140.9 kB / 0.7947 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.2777, allocations: 11.98 kB / 0.7947 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006667/0.2784, allocations: 462.7 kB / 0.7952 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 2.384e-06/0.2784, allocations: 4 kB / 0.7952 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.0009896/0.2794, allocations: 0.5733 MB / 0.7957 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002198/0.2796, allocations: 435.2 kB / 0.7961 GB, free: 304 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.2799, allocations: 292.3 kB / 0.7964 GB, free: 4 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.2801, allocations: 69.69 kB / 0.7965 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.2803, allocations: 165.3 kB / 0.7966 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/0.2804, allocations: 90.86 kB / 0.7967 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005416/0.281, allocations: 270.1 kB / 0.797 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2811, allocations: 358.8 kB / 0.7973 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008163/0.2819, allocations: 417.3 kB / 0.7977 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.283, allocations: 0.6989 MB / 0.7984 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.2845, allocations: 1.195 MB / 0.7996 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.2845, allocations: 7.938 kB / 0.7996 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00278/0.2873, allocations: 1.716 MB / 0.8013 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002965/0.2876, allocations: 482.7 kB / 0.8017 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.2876, allocations: 12 kB / 0.8017 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.2876, allocations: 12 kB / 0.8017 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.45e-05/0.2877, allocations: 35.86 kB / 0.8018 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.586e-05/0.2877, allocations: 19.92 kB / 0.8018 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/0.2901, allocations: 418.9 kB / 0.8022 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/0.2903, allocations: 99.91 kB / 0.8023 GB, free: 9.398 MB / 0.6231 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 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000394/0.2908, allocations: 225.5 kB / 0.8025 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.2909, allocations: 51.41 kB / 0.8026 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.2909, allocations: 38.14 kB / 0.8026 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.291, allocations: 8 kB / 0.8026 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/0.291, allocations: 4 kB / 0.8026 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.291, allocations: 7.984 kB / 0.8026 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.2914, allocations: 325.4 kB / 0.8029 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.2914, allocations: 8 kB / 0.8029 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.2915, allocations: 19.92 kB / 0.803 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.2915, allocations: 11.94 kB / 0.803 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.2915, allocations: 15.98 kB / 0.803 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.2915, allocations: 11.92 kB / 0.803 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.2915, allocations: 4 kB / 0.803 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/0.2922, allocations: 0.5199 MB / 0.8035 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.879e-05/0.2923, allocations: 112.6 kB / 0.8036 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.934e-05/0.2924, allocations: 19.98 kB / 0.8036 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.2925, allocations: 11.98 kB / 0.8036 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/0.2926, allocations: 59.81 kB / 0.8037 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.2926, allocations: 31.98 kB / 0.8037 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001784/0.2928, allocations: 195.1 kB / 0.8039 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2928, allocations: 0 / 0.8039 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000652/0.2935, allocations: 196 kB / 0.8041 GB, free: 7.414 MB / 0.6231 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 (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.0002349/0.2937, allocations: 143 kB / 0.8042 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002739/0.2965, allocations: 1.762 MB / 0.806 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.2965, allocations: 4 kB / 0.806 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009175/0.2974, allocations: 363.6 kB / 0.8063 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.2985, allocations: 121.2 kB / 0.8064 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.3, allocations: 0.7435 MB / 0.8071 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.3005, allocations: 0.7722 MB / 0.8079 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.492e-05/0.3006, allocations: 47.36 kB / 0.8079 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of SimCode: time 7.62e-07/0.3006, allocations: 0 / 0.8079 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of Templates: time 0.01752/0.3182, allocations: 7.571 MB / 0.8153 GB, free: 11.7 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1)