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.00155/0.00155, allocations: 108.2 kB / 16.36 MB, free: 5.961 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.001755/0.001755, allocations: 194.6 kB / 17.3 MB, free: 5.574 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.555/1.555, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.819/1.819, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.002081/0.002081, allocations: 71.88 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2902, allocations: 114.6 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.002347/0.2926, allocations: 1.18 MB / 0.786 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4174/0.71, allocations: 2.162 MB / 0.7881 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.7103, allocations: 2.625 kB / 0.7881 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.11e-05/0.7103, allocations: 20.72 kB / 0.7881 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.7106, allocations: 85.77 kB / 0.7882 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.7133, allocations: 1.406 MB / 0.7895 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001112/0.7144, allocations: 1.285 MB / 0.7908 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.566e-05/0.7145, allocations: 22.48 kB / 0.7908 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004164/0.7149, allocations: 477.5 kB / 0.7913 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004799/0.7154, allocations: 438.2 kB / 0.7917 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.7156, allocations: 112 kB / 0.7918 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.7158, allocations: 117.5 kB / 0.7919 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.7159, allocations: 58.38 kB / 0.792 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.7162, allocations: 395.2 kB / 0.7923 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007404/0.717, allocations: 0.9608 MB / 0.7933 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.717, allocations: 0 / 0.7933 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.754e-06/0.717, allocations: 0 / 0.7933 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.717, allocations: 0 / 0.7933 GB, free: 46.34 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.001015/0.718, allocations: 1.174 MB / 0.7944 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.7181, allocations: 7.938 kB / 0.7944 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.7182, allocations: 68.33 kB / 0.7945 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.7184, allocations: 219.8 kB / 0.7947 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.7184, allocations: 41.19 kB / 0.7948 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.7186, allocations: 72.45 kB / 0.7948 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.7188, allocations: 222.7 kB / 0.795 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.7188, allocations: 192 / 0.795 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.7189, allocations: 7.969 kB / 0.795 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.7189, allocations: 3.469 kB / 0.795 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.864e-05/0.719, allocations: 71.66 kB / 0.7951 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007765/0.7198, allocations: 0.8436 MB / 0.7959 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.72, allocations: 328.2 kB / 0.7963 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.7201, allocations: 137 kB / 0.7964 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.7201, allocations: 13.22 kB / 0.7964 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005163/0.7206, allocations: 462.8 kB / 0.7968 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 1.573e-06/0.7207, allocations: 0 / 0.7968 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.0008881/0.7215, allocations: 0.5646 MB / 0.7974 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.815e-05/0.7217, allocations: 440.1 kB / 0.7978 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.7219, allocations: 299.2 kB / 0.7981 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.722, allocations: 65.98 kB / 0.7982 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.7222, allocations: 158.2 kB / 0.7983 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/0.7223, allocations: 96.62 kB / 0.7984 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004446/0.7227, allocations: 276.3 kB / 0.7987 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.19e-05/0.7228, allocations: 352.8 kB / 0.799 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000813/0.7236, allocations: 422.6 kB / 0.7994 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009383/0.7246, allocations: 0.7048 MB / 0.8001 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.7257, allocations: 1.187 MB / 0.8012 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.7257, allocations: 7 kB / 0.8013 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002748/0.7285, allocations: 1.715 MB / 0.8029 GB, free: 40.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002276/0.7287, allocations: 486.6 kB / 0.8034 GB, free: 39.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.7287, allocations: 9.562 kB / 0.8034 GB, free: 39.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.661e-05/0.7288, allocations: 13.88 kB / 0.8034 GB, free: 39.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.7288, allocations: 32.62 kB / 0.8034 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.032e-05/0.7289, allocations: 23.12 kB / 0.8035 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/0.7311, allocations: 406.2 kB / 0.8039 GB, free: 39.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.7313, allocations: 100.1 kB / 0.804 GB, free: 39.91 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.0003667/0.7316, allocations: 210.8 kB / 0.8042 GB, free: 39.76 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.7317, allocations: 46.39 kB / 0.8042 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.361e-05/0.7318, allocations: 41.94 kB / 0.8042 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.7318, allocations: 14.36 kB / 0.8043 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.7319, allocations: 4.656 kB / 0.8043 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.7319, allocations: 5.281 kB / 0.8043 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.7323, allocations: 331.6 kB / 0.8046 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.7323, allocations: 7.125 kB / 0.8046 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.505e-05/0.7323, allocations: 22.31 kB / 0.8046 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.7323, allocations: 9.594 kB / 0.8046 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.7324, allocations: 17.98 kB / 0.8046 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.7324, allocations: 10.3 kB / 0.8046 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.7324, allocations: 5.172 kB / 0.8046 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007137/0.7331, allocations: 0.5144 MB / 0.8051 GB, free: 39.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.7332, allocations: 124 kB / 0.8053 GB, free: 39.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.7332, allocations: 18.81 kB / 0.8053 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.7334, allocations: 13.34 kB / 0.8053 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.845e-05/0.7335, allocations: 55.62 kB / 0.8054 GB, free: 39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.7335, allocations: 32.09 kB / 0.8054 GB, free: 38.99 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001695/0.7337, allocations: 190.1 kB / 0.8056 GB, free: 38.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.91e-07/0.7337, allocations: 0 / 0.8056 GB, free: 38.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007596/0.7345, allocations: 197.4 kB / 0.8058 GB, free: 38.87 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.0001867/0.7347, allocations: 133.9 kB / 0.8059 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002069/0.7367, allocations: 1.752 MB / 0.8076 GB, free: 37.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.7367, allocations: 0 / 0.8076 GB, free: 37.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.737, allocations: 187.6 kB / 0.8078 GB, free: 37.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006826/0.7377, allocations: 127.2 kB / 0.8079 GB, free: 37.44 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009879/0.7387, allocations: 0.6415 MB / 0.8085 GB, free: 37.01 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.739, allocations: 0.7742 MB / 0.8093 GB, free: 36.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.7391, allocations: 42.16 kB / 0.8093 GB, free: 36.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.7392, allocations: 37.17 kB / 0.8093 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.7392, allocations: 1.406 kB / 0.8093 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of Templates: time 0.026/0.7652, allocations: 11.97 MB / 0.821 GB, free: 35.54 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)