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.001141/0.001141, 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.001542/0.001543, allocations: 189.3 kB / 16.25 MB, free: 6.637 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.691/1.691, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.777/1.777, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001453/0.001453, allocations: 73.83 kB / 0.671 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3101, allocations: 114.5 MB / 0.7829 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.002314/0.3124, allocations: 1.229 MB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002233/0.3147, allocations: 2.178 MB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.3148, allocations: 0 / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.147e-05/0.3148, allocations: 11.86 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.315, allocations: 75.39 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.3176, allocations: 1.31 MB / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.3186, allocations: 1.287 MB / 0.7888 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.752e-05/0.3187, allocations: 28.72 kB / 0.7889 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/0.3191, allocations: 479.2 kB / 0.7893 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.3195, allocations: 351 kB / 0.7896 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.3196, allocations: 108 kB / 0.7897 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.3198, allocations: 119.9 kB / 0.7899 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.3199, allocations: 55.83 kB / 0.7899 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003422/0.3202, allocations: 399 kB / 0.7903 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007328/0.3209, allocations: 0.9626 MB / 0.7912 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.321, allocations: 0 / 0.7912 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.502e-06/0.321, allocations: 4 kB / 0.7912 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.321, allocations: 0 / 0.7912 GB, free: 5.316 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.001181/0.3222, allocations: 1.176 MB / 0.7924 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.3222, allocations: 16.03 kB / 0.7924 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.3224, allocations: 60.66 kB / 0.7925 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.3226, allocations: 220.3 kB / 0.7927 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/0.3226, allocations: 40.36 kB / 0.7927 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.3228, allocations: 68.36 kB / 0.7928 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.3231, allocations: 206.9 kB / 0.793 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.3231, allocations: 192 / 0.793 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.3231, allocations: 11.92 kB / 0.793 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.3231, allocations: 4 kB / 0.793 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.3232, allocations: 71.78 kB / 0.7931 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007965/0.324, allocations: 0.8483 MB / 0.7939 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.3243, allocations: 323.3 kB / 0.7942 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.3244, allocations: 140.8 kB / 0.7943 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.3245, allocations: 8 kB / 0.7943 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000616/0.3251, allocations: 466.6 kB / 0.7948 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 1.933e-06/0.3251, allocations: 0 / 0.7948 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.0009997/0.3261, allocations: 0.5657 MB / 0.7953 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000222/0.3263, allocations: 431.2 kB / 0.7957 GB, free: 28 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.3266, allocations: 296.4 kB / 0.796 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.3268, allocations: 73.62 kB / 0.7961 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.327, allocations: 161.2 kB / 0.7963 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.358e-05/0.3271, allocations: 90.86 kB / 0.7963 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004942/0.3276, allocations: 282 kB / 0.7966 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3277, allocations: 350.8 kB / 0.7969 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008341/0.3286, allocations: 429.3 kB / 0.7974 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009948/0.3296, allocations: 0.695 MB / 0.798 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.3309, allocations: 1.195 MB / 0.7992 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.3309, allocations: 4 kB / 0.7992 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002558/0.3335, allocations: 1.716 MB / 0.8009 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003008/0.3338, allocations: 485.3 kB / 0.8013 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.3338, allocations: 12 kB / 0.8014 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.3338, allocations: 13 kB / 0.8014 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.537e-05/0.3339, allocations: 31.86 kB / 0.8014 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.3339, allocations: 19.92 kB / 0.8014 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/0.3362, allocations: 426.9 kB / 0.8018 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/0.3364, allocations: 99.92 kB / 0.8019 GB, free: 9.109 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.0003545/0.3368, allocations: 218.7 kB / 0.8021 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.835e-05/0.3369, allocations: 47.45 kB / 0.8022 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.447e-05/0.3369, allocations: 38.14 kB / 0.8022 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.337, allocations: 8 kB / 0.8022 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/0.337, allocations: 4 kB / 0.8022 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.337, allocations: 7.938 kB / 0.8022 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.3373, allocations: 325.4 kB / 0.8025 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3374, allocations: 0 / 0.8025 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.3374, allocations: 23.92 kB / 0.8026 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.3374, allocations: 11.94 kB / 0.8026 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.3374, allocations: 23.97 kB / 0.8026 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.3375, allocations: 4 kB / 0.8026 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3375, allocations: 4 kB / 0.8026 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006212/0.3381, allocations: 0.5198 MB / 0.8031 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.484e-05/0.3382, allocations: 128.6 kB / 0.8032 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.3383, allocations: 19.98 kB / 0.8032 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3384, allocations: 8 kB / 0.8033 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.916e-05/0.3385, allocations: 55.88 kB / 0.8033 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.3385, allocations: 35.92 kB / 0.8033 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001413/0.3387, allocations: 187.1 kB / 0.8035 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.073e-06/0.3387, allocations: 4 kB / 0.8035 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006057/0.3393, allocations: 199.9 kB / 0.8037 GB, free: 7.129 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.0002224/0.3395, allocations: 143.1 kB / 0.8039 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001866/0.3414, allocations: 1.761 MB / 0.8056 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3414, allocations: 4 kB / 0.8056 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.3416, allocations: 182.5 kB / 0.8058 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007273/0.3424, allocations: 124.8 kB / 0.8059 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009832/0.3434, allocations: 0.7132 MB / 0.8066 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3437, allocations: 0.7722 MB / 0.8073 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.3438, allocations: 42.97 kB / 0.8074 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.3439, allocations: 35.42 kB / 0.8074 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.3439, allocations: 0 / 0.8074 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of Templates: time 0.01842/0.3623, allocations: 11.89 MB / 0.819 GB, free: 7.348 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)