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.001458/0.001459, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001963/0.001963, allocations: 192.2 kB / 16.14 MB, free: 6.703 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.556/1.556, allocations: 205.1 MB / 222 MB, free: 4.754 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.772/1.772, allocations: 292.2 MB / 0.5484 GB, free: 13.65 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.001295/0.001295, allocations: 68.94 kB / 0.6708 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.274, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.002551/0.2766, allocations: 1.24 MB / 0.7839 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002911/0.2795, allocations: 2.342 MB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.096e-05/0.2796, allocations: 4 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.507e-05/0.2797, allocations: 15.8 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.2799, allocations: 71.39 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003001/0.283, allocations: 1.311 MB / 0.7876 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009882/0.284, allocations: 1.049 MB / 0.7886 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.897e-05/0.2841, allocations: 20.75 kB / 0.7886 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004236/0.2845, allocations: 419.2 kB / 0.789 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.2848, allocations: 338.9 kB / 0.7893 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.285, allocations: 63.94 kB / 0.7894 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.2852, allocations: 71.98 kB / 0.7895 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.105e-05/0.2853, allocations: 55.83 kB / 0.7895 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003714/0.2857, allocations: 343 kB / 0.7898 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008128/0.2865, allocations: 0.9353 MB / 0.7908 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2865, allocations: 0 / 0.7908 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2865, allocations: 0 / 0.7908 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.2865, allocations: 0 / 0.7908 GB, free: 5.75 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.001388/0.2879, allocations: 1.172 MB / 0.7919 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.288, allocations: 12.03 kB / 0.7919 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.2882, allocations: 60.66 kB / 0.792 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.2884, allocations: 220.4 kB / 0.7922 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/0.2884, allocations: 44.28 kB / 0.7922 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.2886, allocations: 68.36 kB / 0.7923 GB, free: 4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.2889, allocations: 215 kB / 0.7925 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.2889, allocations: 4.125 kB / 0.7925 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.2889, allocations: 7.938 kB / 0.7925 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.289, allocations: 4 kB / 0.7925 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.2891, allocations: 67.78 kB / 0.7926 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008621/0.2899, allocations: 0.8444 MB / 0.7934 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.2902, allocations: 327.1 kB / 0.7937 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.2904, allocations: 140.9 kB / 0.7938 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.2904, allocations: 4 kB / 0.7938 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005402/0.291, allocations: 466.7 kB / 0.7943 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 1.994e-06/0.291, allocations: 0 / 0.7943 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.001013/0.292, allocations: 0.565 MB / 0.7948 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002332/0.2922, allocations: 443.2 kB / 0.7953 GB, free: 464 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.2925, allocations: 300.3 kB / 0.7956 GB, free: 156 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.2926, allocations: 61.7 kB / 0.7956 GB, free: 88 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.2929, allocations: 157.3 kB / 0.7958 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.195e-05/0.293, allocations: 102.8 kB / 0.7959 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004579/0.2934, allocations: 270.1 kB / 0.7961 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2936, allocations: 350.8 kB / 0.7965 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008517/0.2944, allocations: 425.3 kB / 0.7969 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.2956, allocations: 0.7028 MB / 0.7975 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.2971, allocations: 1.188 MB / 0.7987 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.2971, allocations: 4 kB / 0.7987 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002873/0.3, allocations: 1.721 MB / 0.8004 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003613/0.3004, allocations: 485.4 kB / 0.8009 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.3004, allocations: 12 kB / 0.8009 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.991e-05/0.3004, allocations: 12 kB / 0.8009 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.922e-05/0.3005, allocations: 35.84 kB / 0.8009 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/0.3005, allocations: 23.86 kB / 0.8009 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.3029, allocations: 422.9 kB / 0.8013 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.3031, allocations: 99.92 kB / 0.8014 GB, free: 9.543 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.0003517/0.3034, allocations: 218.2 kB / 0.8016 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.3036, allocations: 47.45 kB / 0.8017 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.065e-05/0.3036, allocations: 38.14 kB / 0.8017 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.3036, allocations: 12 kB / 0.8017 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.251e-05/0.3037, allocations: 4 kB / 0.8017 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.3037, allocations: 4 kB / 0.8017 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.3041, allocations: 333.4 kB / 0.8021 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.3041, allocations: 4 kB / 0.8021 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.3041, allocations: 15.92 kB / 0.8021 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/0.3042, allocations: 11.94 kB / 0.8021 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.3042, allocations: 19.92 kB / 0.8021 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.757e-06/0.3042, allocations: 7.938 kB / 0.8021 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.3042, allocations: 8 kB / 0.8021 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000787/0.305, allocations: 0.5235 MB / 0.8026 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.3052, allocations: 120.6 kB / 0.8027 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.3053, allocations: 15.98 kB / 0.8028 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3054, allocations: 8 kB / 0.8028 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/0.3055, allocations: 63.81 kB / 0.8028 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.3055, allocations: 31.97 kB / 0.8029 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002718/0.3058, allocations: 195.1 kB / 0.803 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3058, allocations: 0 / 0.803 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006516/0.3064, allocations: 196 kB / 0.8032 GB, free: 7.559 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.0002139/0.3067, allocations: 143 kB / 0.8034 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002063/0.3087, allocations: 1.743 MB / 0.8051 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.3088, allocations: 8 kB / 0.8051 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.309, allocations: 175.7 kB / 0.8052 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007125/0.3097, allocations: 122.3 kB / 0.8054 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3108, allocations: 0.6956 MB / 0.806 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.3112, allocations: 0.78 MB / 0.8068 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001253/0.3114, allocations: 46.91 kB / 0.8069 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/0.3114, allocations: 39.42 kB / 0.8069 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of SimCode: time 9.01e-07/0.3114, allocations: 4 kB / 0.8069 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of Templates: time 0.0189/0.3303, allocations: 11.36 MB / 0.818 GB, free: 8.32 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)