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.001305/0.001305, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.001207/0.001208, allocations: 187.1 kB / 17.31 MB, free: 5.613 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.381/1.381, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.773/1.773, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001462/0.001462, allocations: 63.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2424, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.002411/0.2448, allocations: 1.188 MB / 0.786 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5012/0.746, allocations: 2.154 MB / 0.7881 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.7463, allocations: 2.625 kB / 0.7881 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.951e-05/0.7464, allocations: 23.86 kB / 0.7881 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.7468, allocations: 82.89 kB / 0.7882 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.7501, allocations: 1.399 MB / 0.7896 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.7512, allocations: 1.285 MB / 0.7908 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.343e-05/0.7513, allocations: 24.25 kB / 0.7908 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003882/0.7517, allocations: 478.9 kB / 0.7913 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000457/0.7521, allocations: 438.8 kB / 0.7917 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.7523, allocations: 108.4 kB / 0.7918 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.7525, allocations: 122.1 kB / 0.7919 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.7525, allocations: 59.33 kB / 0.792 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003464/0.7529, allocations: 390.6 kB / 0.7924 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008268/0.7537, allocations: 0.9581 MB / 0.7933 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.7537, allocations: 3.438 kB / 0.7933 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7537, allocations: 4.656 kB / 0.7933 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.7538, allocations: 0 / 0.7933 GB, free: 46.33 MB / 0.6544 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.001088/0.7549, allocations: 1.176 MB / 0.7945 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.7549, allocations: 10.41 kB / 0.7945 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.7551, allocations: 67.25 kB / 0.7945 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.7553, allocations: 216 kB / 0.7947 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.7553, allocations: 36.77 kB / 0.7948 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.7554, allocations: 69.95 kB / 0.7948 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.7557, allocations: 218.3 kB / 0.795 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.7557, allocations: 3.688 kB / 0.795 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.7558, allocations: 13.36 kB / 0.7951 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.7558, allocations: 0 / 0.7951 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.7559, allocations: 72.62 kB / 0.7951 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000772/0.7567, allocations: 0.8416 MB / 0.796 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.7569, allocations: 325 kB / 0.7963 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.757, allocations: 140.5 kB / 0.7964 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.757, allocations: 9.328 kB / 0.7964 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004619/0.7575, allocations: 470 kB / 0.7969 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.204e-06/0.7575, allocations: 0 / 0.7969 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.0009202/0.7585, allocations: 0.5649 MB / 0.7974 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.7586, allocations: 435 kB / 0.7978 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.7588, allocations: 296.5 kB / 0.7981 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.759, allocations: 67.19 kB / 0.7982 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.7591, allocations: 158.9 kB / 0.7983 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.239e-05/0.7592, allocations: 97.75 kB / 0.7984 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000504/0.7597, allocations: 277.1 kB / 0.7987 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.7598, allocations: 351.8 kB / 0.799 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008394/0.7607, allocations: 420.4 kB / 0.7994 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.7617, allocations: 0.707 MB / 0.8001 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.7629, allocations: 1.2 MB / 0.8013 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.7629, allocations: 1.188 kB / 0.8013 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002784/0.7657, allocations: 1.714 MB / 0.8029 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002504/0.766, allocations: 486.4 kB / 0.8034 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/0.766, allocations: 11.09 kB / 0.8034 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.205e-05/0.766, allocations: 13.94 kB / 0.8034 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.7661, allocations: 31.5 kB / 0.8035 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.519e-05/0.7661, allocations: 20.44 kB / 0.8035 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.7685, allocations: 411.7 kB / 0.8039 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/0.7687, allocations: 96.64 kB / 0.804 GB, free: 39.87 MB / 0.6544 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.0003428/0.7691, allocations: 212.6 kB / 0.8042 GB, free: 39.72 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.577e-05/0.7692, allocations: 50.12 kB / 0.8042 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.304e-05/0.7692, allocations: 36.92 kB / 0.8043 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.7692, allocations: 8.672 kB / 0.8043 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.7693, allocations: 4.844 kB / 0.8043 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.7693, allocations: 5.891 kB / 0.8043 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003957/0.7697, allocations: 334.9 kB / 0.8046 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.7697, allocations: 3.844 kB / 0.8046 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.7697, allocations: 23.83 kB / 0.8046 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/0.7698, allocations: 14.47 kB / 0.8046 GB, free: 39.42 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.7698, allocations: 18.53 kB / 0.8047 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.7698, allocations: 6.656 kB / 0.8047 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/0.7698, allocations: 7.781 kB / 0.8047 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007164/0.7706, allocations: 0.5119 MB / 0.8052 GB, free: 39.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.7706, allocations: 124.2 kB / 0.8053 GB, free: 38.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.7707, allocations: 15.45 kB / 0.8053 GB, free: 38.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.7708, allocations: 16.91 kB / 0.8053 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.7709, allocations: 56.42 kB / 0.8054 GB, free: 38.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/0.771, allocations: 28.7 kB / 0.8054 GB, free: 38.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001844/0.7712, allocations: 188.8 kB / 0.8056 GB, free: 38.85 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7712, allocations: 4 kB / 0.8056 GB, free: 38.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008072/0.772, allocations: 199.5 kB / 0.8058 GB, free: 38.83 MB / 0.6544 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.0002028/0.7722, allocations: 133 kB / 0.8059 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00212/0.7743, allocations: 1.75 MB / 0.8076 GB, free: 37.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.7743, allocations: 1.125 kB / 0.8076 GB, free: 37.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008197/0.7752, allocations: 361.1 kB / 0.808 GB, free: 37.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008334/0.776, allocations: 130.1 kB / 0.8081 GB, free: 37.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.7771, allocations: 0.666 MB / 0.8087 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.7774, allocations: 0.7749 MB / 0.8095 GB, free: 36.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.252e-05/0.7775, allocations: 38.58 kB / 0.8095 GB, free: 36.17 MB / 0.6544 GB Notification: Performance of SimCode: time 1.042e-06/0.7775, allocations: 7.281 kB / 0.8095 GB, free: 36.17 MB / 0.6544 GB Notification: Performance of Templates: time 0.01626/0.7938, allocations: 7.579 MB / 0.8169 GB, free: 35.53 MB / 0.6544 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)