Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 117 kB / 16.38 MB, free: 6.004 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.001811/0.001811, allocations: 189.2 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.399/1.399, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.834/1.834, allocations: 292.3 MB / 0.5496 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.001469/0.001469, allocations: 71.91 kB / 0.673 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2512, allocations: 114.5 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.003151/0.2544, allocations: 1.187 MB / 0.786 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3731/0.6276, allocations: 2.159 MB / 0.7881 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.6278, allocations: 2.625 kB / 0.7881 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.49e-05/0.6279, allocations: 20.72 kB / 0.7881 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.6282, allocations: 83.05 kB / 0.7882 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002992/0.6312, allocations: 1.399 MB / 0.7895 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001532/0.6327, allocations: 1.296 MB / 0.7908 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.6329, allocations: 18.56 kB / 0.7908 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005705/0.6334, allocations: 485.4 kB / 0.7913 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005187/0.634, allocations: 437.3 kB / 0.7917 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.6341, allocations: 106.3 kB / 0.7918 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.6344, allocations: 120.4 kB / 0.7919 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.6344, allocations: 55.66 kB / 0.792 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.6348, allocations: 391.5 kB / 0.7924 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008007/0.6356, allocations: 0.9657 MB / 0.7933 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6356, allocations: 0 / 0.7933 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6356, allocations: 1.969 kB / 0.7933 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.6356, allocations: 0 / 0.7933 GB, free: 46.37 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.001114/0.6367, allocations: 1.18 MB / 0.7945 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.6368, allocations: 10.34 kB / 0.7945 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.637, allocations: 68.59 kB / 0.7945 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.6371, allocations: 218.2 kB / 0.7947 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.6372, allocations: 36.14 kB / 0.7948 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.6373, allocations: 67.89 kB / 0.7948 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.6376, allocations: 213.5 kB / 0.795 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.6376, allocations: 7.156 kB / 0.795 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.6376, allocations: 13.67 kB / 0.7951 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.6376, allocations: 3.438 kB / 0.7951 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.624e-05/0.6377, allocations: 69.2 kB / 0.7951 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/0.6385, allocations: 0.8445 MB / 0.796 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.6388, allocations: 326.2 kB / 0.7963 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.6389, allocations: 136.2 kB / 0.7964 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.6389, allocations: 10.62 kB / 0.7964 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004932/0.6394, allocations: 467 kB / 0.7968 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 1.784e-06/0.6394, allocations: 0 / 0.7968 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.0009866/0.6404, allocations: 0.5615 MB / 0.7974 GB, free: 44 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.6405, allocations: 443 kB / 0.7978 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.6408, allocations: 297.9 kB / 0.7981 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.6409, allocations: 65.23 kB / 0.7982 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.6411, allocations: 161 kB / 0.7983 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.99e-05/0.6412, allocations: 95.03 kB / 0.7984 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004907/0.6417, allocations: 281.6 kB / 0.7987 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.659e-05/0.6417, allocations: 348.3 kB / 0.799 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007924/0.6425, allocations: 422.9 kB / 0.7994 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009454/0.6435, allocations: 0.7014 MB / 0.8001 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.6446, allocations: 1.19 MB / 0.8013 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.6447, allocations: 2.594 kB / 0.8013 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002963/0.6476, allocations: 1.717 MB / 0.8029 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.6479, allocations: 481.7 kB / 0.8034 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.6479, allocations: 11.55 kB / 0.8034 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.886e-05/0.648, allocations: 17.16 kB / 0.8034 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.648, allocations: 37.28 kB / 0.8035 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.69e-05/0.6481, allocations: 20.61 kB / 0.8035 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/0.6505, allocations: 407.7 kB / 0.8039 GB, free: 39.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/0.6507, allocations: 99.62 kB / 0.804 GB, free: 39.9 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.0003681/0.6511, allocations: 214.2 kB / 0.8042 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.6512, allocations: 50.66 kB / 0.8042 GB, free: 39.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.829e-05/0.6513, allocations: 36.94 kB / 0.8043 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.6513, allocations: 7.75 kB / 0.8043 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/0.6513, allocations: 5.125 kB / 0.8043 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.6514, allocations: 7.422 kB / 0.8043 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.6518, allocations: 331.8 kB / 0.8046 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.6518, allocations: 4.125 kB / 0.8046 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.6518, allocations: 17.38 kB / 0.8046 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.6519, allocations: 9.844 kB / 0.8046 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.6519, allocations: 22.36 kB / 0.8046 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/0.6519, allocations: 8.703 kB / 0.8046 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.6519, allocations: 7.969 kB / 0.8047 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.6526, allocations: 0.5172 MB / 0.8052 GB, free: 39.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.6527, allocations: 122.2 kB / 0.8053 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.6527, allocations: 15.7 kB / 0.8053 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.6529, allocations: 13.17 kB / 0.8053 GB, free: 39.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.653, allocations: 64.02 kB / 0.8054 GB, free: 38.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.653, allocations: 27.47 kB / 0.8054 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001749/0.6532, allocations: 188.7 kB / 0.8056 GB, free: 38.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6532, allocations: 1.344 kB / 0.8056 GB, free: 38.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008574/0.6541, allocations: 198.6 kB / 0.8058 GB, free: 38.86 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.0002037/0.6543, allocations: 134.8 kB / 0.8059 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002242/0.6565, allocations: 1.748 MB / 0.8076 GB, free: 37.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.6566, allocations: 5.281 kB / 0.8076 GB, free: 37.49 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007294/0.6573, allocations: 360.5 kB / 0.8079 GB, free: 37.4 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008607/0.6582, allocations: 128.2 kB / 0.8081 GB, free: 37.38 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.6594, allocations: 0.6711 MB / 0.8087 GB, free: 36.92 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.6596, allocations: 0.7789 MB / 0.8095 GB, free: 36.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.064e-05/0.6597, allocations: 38.77 kB / 0.8095 GB, free: 36.2 MB / 0.6544 GB Notification: Performance of SimCode: time 9.32e-07/0.6597, allocations: 6.281 kB / 0.8095 GB, free: 36.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.01738/0.6771, allocations: 7.573 MB / 0.8169 GB, free: 35.56 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)