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.001284/0.001285, allocations: 107.8 kB / 16.29 MB, free: 6.43 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.001438/0.001438, allocations: 184 kB / 17.22 MB, free: 5.934 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.659/1.659, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.946/1.946, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001536/0.001537, allocations: 71.89 kB / 0.6722 GB, free: 6.465 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.315, allocations: 114.6 MB / 0.7841 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.002536/0.3176, allocations: 1.17 MB / 0.7852 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002814/0.3205, allocations: 2.178 MB / 0.7874 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3206, allocations: 0 / 0.7874 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.587e-05/0.3207, allocations: 23.67 kB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.3209, allocations: 83.27 kB / 0.7875 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.5974/0.9182, allocations: 1.39 MB / 0.7888 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001764/0.92, allocations: 1.289 MB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.9201, allocations: 22.78 kB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005482/0.9207, allocations: 479.2 kB / 0.7906 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005296/0.9212, allocations: 436.2 kB / 0.791 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.9215, allocations: 105.8 kB / 0.7911 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.9218, allocations: 120.7 kB / 0.7912 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.9218, allocations: 62.66 kB / 0.7913 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000438/0.9223, allocations: 390.3 kB / 0.7916 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.9233, allocations: 0.9633 MB / 0.7926 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.9233, allocations: 1.656 kB / 0.7926 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9233, allocations: 0 / 0.7926 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.9234, allocations: 3.438 kB / 0.7926 GB, free: 46.57 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.001263/0.9246, allocations: 1.172 MB / 0.7937 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.9247, allocations: 7.906 kB / 0.7937 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.9249, allocations: 67.62 kB / 0.7938 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.9251, allocations: 217.8 kB / 0.794 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/0.9251, allocations: 39.5 kB / 0.794 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.9253, allocations: 71.28 kB / 0.7941 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.9256, allocations: 220.7 kB / 0.7943 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.9256, allocations: 192 / 0.7943 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.9257, allocations: 10.73 kB / 0.7943 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.9257, allocations: 6.344 kB / 0.7943 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.9258, allocations: 64.53 kB / 0.7944 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.9269, allocations: 0.8461 MB / 0.7952 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.9272, allocations: 323.3 kB / 0.7955 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.9274, allocations: 139 kB / 0.7957 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.9274, allocations: 19.55 kB / 0.7957 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006221/0.928, allocations: 463.6 kB / 0.7961 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 1.813e-06/0.9281, allocations: 0 / 0.7961 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.001077/0.9291, allocations: 0.56 MB / 0.7967 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/0.9293, allocations: 438.3 kB / 0.7971 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.9296, allocations: 301.1 kB / 0.7974 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.9298, allocations: 67.86 kB / 0.7974 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.9299, allocations: 160.5 kB / 0.7976 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9e-05/0.93, allocations: 92.64 kB / 0.7977 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005678/0.9306, allocations: 276.6 kB / 0.798 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.9308, allocations: 353 kB / 0.7983 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000991/0.9318, allocations: 424.5 kB / 0.7987 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.933, allocations: 0.7035 MB / 0.7994 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.9344, allocations: 1.194 MB / 0.8005 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.9345, allocations: 5.25 kB / 0.8006 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003574/0.938, allocations: 1.714 MB / 0.8022 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003622/0.9384, allocations: 485.2 kB / 0.8027 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.893e-05/0.9385, allocations: 10.84 kB / 0.8027 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.136e-05/0.9385, allocations: 14.06 kB / 0.8027 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.9386, allocations: 33.39 kB / 0.8027 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.545e-05/0.9387, allocations: 20.88 kB / 0.8028 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/0.941, allocations: 405.3 kB / 0.8031 GB, free: 40.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/0.9413, allocations: 96.48 kB / 0.8032 GB, free: 40.09 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.0004485/0.9417, allocations: 214.2 kB / 0.8034 GB, free: 39.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.9419, allocations: 54.03 kB / 0.8035 GB, free: 39.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.769e-05/0.942, allocations: 36.91 kB / 0.8035 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.942, allocations: 8.156 kB / 0.8035 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/0.942, allocations: 5.656 kB / 0.8035 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.942, allocations: 5.703 kB / 0.8036 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.9425, allocations: 328.2 kB / 0.8039 GB, free: 39.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.9426, allocations: 3.375 kB / 0.8039 GB, free: 39.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.9426, allocations: 24.16 kB / 0.8039 GB, free: 39.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/0.9426, allocations: 15.14 kB / 0.8039 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.9427, allocations: 20.36 kB / 0.8039 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/0.9427, allocations: 7.156 kB / 0.8039 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/0.9427, allocations: 10.88 kB / 0.8039 GB, free: 39.63 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000894/0.9436, allocations: 0.5103 MB / 0.8044 GB, free: 39.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/0.9437, allocations: 127 kB / 0.8046 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.046e-05/0.9438, allocations: 15.47 kB / 0.8046 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.9439, allocations: 14.48 kB / 0.8046 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.944, allocations: 58.73 kB / 0.8046 GB, free: 39.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.493e-05/0.9441, allocations: 30.55 kB / 0.8047 GB, free: 39.18 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002487/0.9444, allocations: 193.5 kB / 0.8049 GB, free: 39.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9444, allocations: 4 kB / 0.8049 GB, free: 39.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001378/0.9458, allocations: 195.4 kB / 0.805 GB, free: 39.05 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.0003052/0.9461, allocations: 134 kB / 0.8052 GB, free: 38.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002546/0.9486, allocations: 1.753 MB / 0.8069 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.505e-06/0.9486, allocations: 0 / 0.8069 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.949, allocations: 183.7 kB / 0.8071 GB, free: 37.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008167/0.9499, allocations: 124.4 kB / 0.8072 GB, free: 37.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.9512, allocations: 0.6353 MB / 0.8078 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.9516, allocations: 0.7804 MB / 0.8086 GB, free: 36.49 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002258/0.9519, allocations: 41.62 kB / 0.8086 GB, free: 36.49 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.952, allocations: 37.5 kB / 0.8086 GB, free: 36.48 MB / 0.6544 GB Notification: Performance of SimCode: time 1.783e-06/0.952, allocations: 1.469 kB / 0.8086 GB, free: 36.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.03911/0.9911, allocations: 11.97 MB / 0.8203 GB, free: 35.73 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)