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.001655/0.001655, allocations: 97.42 kB / 16.27 MB, free: 6.418 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.002002/0.002002, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.485/1.485, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.874/1.874, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.001426/0.001426, allocations: 71.89 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2639, allocations: 114.5 MB / 0.7841 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.002423/0.2664, allocations: 1.18 MB / 0.7852 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.2691, allocations: 2.178 MB / 0.7873 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.209e-05/0.2692, allocations: 0 / 0.7873 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.256e-05/0.2693, allocations: 19.69 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.2695, allocations: 79.27 kB / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.5266/0.7962, allocations: 1.374 MB / 0.7888 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001393/0.7976, allocations: 1.283 MB / 0.79 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.439e-05/0.7977, allocations: 21.31 kB / 0.79 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005021/0.7982, allocations: 482.7 kB / 0.7905 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.7985, allocations: 338.8 kB / 0.7908 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.7987, allocations: 113.1 kB / 0.7909 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.7989, allocations: 119.6 kB / 0.791 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.714e-05/0.799, allocations: 57.81 kB / 0.7911 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004117/0.7994, allocations: 392.5 kB / 0.7915 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008138/0.8003, allocations: 0.9612 MB / 0.7924 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.8003, allocations: 0 / 0.7924 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8003, allocations: 3.406 kB / 0.7924 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.8003, allocations: 0 / 0.7924 GB, free: 45.81 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.00126/0.8016, allocations: 1.17 MB / 0.7936 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.8016, allocations: 11 kB / 0.7936 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.8018, allocations: 68.22 kB / 0.7936 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.802, allocations: 218.2 kB / 0.7938 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/0.802, allocations: 41.12 kB / 0.7939 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.8022, allocations: 62.55 kB / 0.7939 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.8025, allocations: 218.2 kB / 0.7942 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.8025, allocations: 10.8 kB / 0.7942 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.8025, allocations: 13.81 kB / 0.7942 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.8025, allocations: 4.094 kB / 0.7942 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.8026, allocations: 68.42 kB / 0.7942 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008355/0.8035, allocations: 0.8442 MB / 0.7951 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.8037, allocations: 325.3 kB / 0.7954 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.8039, allocations: 137.8 kB / 0.7955 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.8039, allocations: 4.766 kB / 0.7955 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006023/0.8045, allocations: 469 kB / 0.796 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 1.643e-06/0.8045, allocations: 1.406 kB / 0.796 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.0009733/0.8055, allocations: 0.5628 MB / 0.7965 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.8056, allocations: 440.1 kB / 0.7969 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.8059, allocations: 296.5 kB / 0.7972 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.806, allocations: 68 kB / 0.7973 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.8062, allocations: 165.6 kB / 0.7974 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.425e-05/0.8063, allocations: 92 kB / 0.7975 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004646/0.8068, allocations: 279.2 kB / 0.7978 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.8069, allocations: 350.8 kB / 0.7981 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007887/0.8077, allocations: 421.8 kB / 0.7985 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009353/0.8087, allocations: 0.7032 MB / 0.7992 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.8099, allocations: 1.196 MB / 0.8004 GB, free: 41.13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.8099, allocations: 3.125 kB / 0.8004 GB, free: 41.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002918/0.8128, allocations: 1.719 MB / 0.8021 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002677/0.8131, allocations: 481.7 kB / 0.8025 GB, free: 39.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.8131, allocations: 14.56 kB / 0.8025 GB, free: 39.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.335e-05/0.8132, allocations: 13.28 kB / 0.8026 GB, free: 39.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.706e-05/0.8133, allocations: 36.52 kB / 0.8026 GB, free: 39.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-05/0.8133, allocations: 17.53 kB / 0.8026 GB, free: 39.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/0.8159, allocations: 420.7 kB / 0.803 GB, free: 39.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/0.8162, allocations: 101.6 kB / 0.8031 GB, free: 39.71 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.0003433/0.8165, allocations: 214.7 kB / 0.8033 GB, free: 39.56 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.8166, allocations: 50.66 kB / 0.8034 GB, free: 39.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.775e-05/0.8167, allocations: 37.38 kB / 0.8034 GB, free: 39.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.8167, allocations: 11.06 kB / 0.8034 GB, free: 39.51 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.8168, allocations: 5.984 kB / 0.8034 GB, free: 39.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.8168, allocations: 7.125 kB / 0.8034 GB, free: 39.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.8172, allocations: 326.3 kB / 0.8037 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.8172, allocations: 4.219 kB / 0.8037 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.8173, allocations: 21.27 kB / 0.8037 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.8173, allocations: 9.969 kB / 0.8038 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.8173, allocations: 18.08 kB / 0.8038 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/0.8173, allocations: 10.34 kB / 0.8038 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.505e-06/0.8174, allocations: 7.219 kB / 0.8038 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00078/0.8181, allocations: 0.5143 MB / 0.8043 GB, free: 38.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.147e-05/0.8182, allocations: 119.6 kB / 0.8044 GB, free: 38.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/0.8183, allocations: 19.62 kB / 0.8044 GB, free: 38.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.8184, allocations: 13.36 kB / 0.8044 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.8185, allocations: 62.72 kB / 0.8045 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/0.8186, allocations: 27.94 kB / 0.8045 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001984/0.8188, allocations: 189 kB / 0.8047 GB, free: 38.69 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.02e-07/0.8188, allocations: 0.875 kB / 0.8047 GB, free: 38.69 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007279/0.8195, allocations: 203 kB / 0.8049 GB, free: 38.67 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.0002354/0.8198, allocations: 141.1 kB / 0.805 GB, free: 38.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002218/0.822, allocations: 1.761 MB / 0.8068 GB, free: 37.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.822, allocations: 5.562 kB / 0.8068 GB, free: 37.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007156/0.8227, allocations: 360.8 kB / 0.8071 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007922/0.8235, allocations: 124.2 kB / 0.8072 GB, free: 37.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.8246, allocations: 0.6719 MB / 0.8079 GB, free: 36.72 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.8249, allocations: 0.7752 MB / 0.8086 GB, free: 36.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/0.825, allocations: 42.61 kB / 0.8087 GB, free: 36 MB / 0.6544 GB Notification: Performance of SimCode: time 6.52e-07/0.825, allocations: 0 / 0.8087 GB, free: 36 MB / 0.6544 GB Notification: Performance of Templates: time 0.01937/0.8444, allocations: 7.566 MB / 0.8161 GB, free: 35.37 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)