Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.34/2.34, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 196.4 kB / 499.1 MB, free: 4.66 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.824/1.824, allocations: 222.9 MB / 0.7948 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 120.5 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 51.98 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3346, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.002367/0.337, allocations: 1.214 MB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002595/0.3396, allocations: 2.357 MB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.3398, allocations: 8 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 5.446e-05/0.3399, allocations: 7.875 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.3401, allocations: 71.39 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003242/0.3433, allocations: 1.317 MB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001532/0.3449, allocations: 1.049 MB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.3451, allocations: 16.75 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000789/0.3459, allocations: 435.2 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003912/0.3463, allocations: 331 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002002/0.3465, allocations: 60 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.3468, allocations: 71.98 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.615e-05/0.3469, allocations: 59.75 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005368/0.3474, allocations: 347 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0007285/0.3482, allocations: 0.9176 MB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3482, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3482, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3482, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 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.00109/0.3493, allocations: 1.173 MB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3494, allocations: 15.98 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.3495, allocations: 64.64 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.3497, allocations: 220.3 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.3497, allocations: 40.36 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.3499, allocations: 68.36 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.3501, allocations: 210.9 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3501, allocations: 8.062 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.3502, allocations: 15.86 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.3502, allocations: 8 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.3503, allocations: 67.78 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007092/0.351, allocations: 0.8328 MB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.3512, allocations: 335.2 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.3514, allocations: 132.9 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.3514, allocations: 8 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004478/0.3518, allocations: 478.6 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 1.854e-06/0.3518, allocations: 4 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.0008391/0.3527, allocations: 0.5618 MB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.3528, allocations: 435.2 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.353, allocations: 296.3 kB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.3531, allocations: 65.7 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.3533, allocations: 161.3 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.562e-05/0.3534, allocations: 102.8 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003991/0.3538, allocations: 274.1 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.3539, allocations: 354.8 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006877/0.3546, allocations: 421.3 kB / 1.232 GB, free: 102 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000798/0.3554, allocations: 0.6989 MB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009556/0.3563, allocations: 1.191 MB / 1.234 GB, free: 99.76 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.3563, allocations: 4 kB / 1.234 GB, free: 99.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002337/0.3587, allocations: 1.717 MB / 1.236 GB, free: 97.94 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.3589, allocations: 485.4 kB / 1.236 GB, free: 97.37 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.3589, allocations: 15.98 kB / 1.236 GB, free: 97.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.3589, allocations: 12 kB / 1.236 GB, free: 97.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.804e-05/0.359, allocations: 35.83 kB / 1.236 GB, free: 97.31 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.359, allocations: 19.94 kB / 1.236 GB, free: 97.29 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/0.3612, allocations: 418.9 kB / 1.237 GB, free: 96.88 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.3613, allocations: 99.92 kB / 1.237 GB, free: 96.78 MB / 0.823 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.0003123/0.3616, allocations: 222.3 kB / 1.237 GB, free: 96.55 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.329e-05/0.3617, allocations: 43.47 kB / 1.237 GB, free: 96.51 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.725e-05/0.3618, allocations: 38.14 kB / 1.237 GB, free: 96.47 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3618, allocations: 8 kB / 1.237 GB, free: 96.46 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.3618, allocations: 4 kB / 1.237 GB, free: 96.46 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3619, allocations: 11.92 kB / 1.237 GB, free: 96.45 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.3622, allocations: 329.4 kB / 1.237 GB, free: 96.08 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3622, allocations: 8 kB / 1.237 GB, free: 96.07 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.785e-05/0.3622, allocations: 19.92 kB / 1.237 GB, free: 96.05 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.3622, allocations: 11.94 kB / 1.238 GB, free: 96.04 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.3622, allocations: 15.98 kB / 1.238 GB, free: 96.02 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.3622, allocations: 11.94 kB / 1.238 GB, free: 96.01 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3623, allocations: 4 kB / 1.238 GB, free: 96.01 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008224/0.3631, allocations: 1.232 MB / 1.239 GB, free: 94.68 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.3631, allocations: 116.6 kB / 1.239 GB, free: 94.54 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.3632, allocations: 15.98 kB / 1.239 GB, free: 94.53 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3633, allocations: 11.98 kB / 1.239 GB, free: 94.52 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.3634, allocations: 63.81 kB / 1.239 GB, free: 94.45 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.3634, allocations: 27.98 kB / 1.239 GB, free: 94.43 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001109/0.3635, allocations: 187.1 kB / 1.239 GB, free: 94.24 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3635, allocations: 4 kB / 1.239 GB, free: 94.24 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007175/0.3643, allocations: 196 kB / 1.239 GB, free: 94.05 MB / 0.823 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.0001869/0.3645, allocations: 135.1 kB / 1.239 GB, free: 93.91 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.3659, allocations: 1.742 MB / 1.241 GB, free: 91.98 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.366, allocations: 0.875 kB / 1.241 GB, free: 91.98 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.3662, allocations: 195.9 kB / 1.241 GB, free: 91.79 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.3668, allocations: 116.9 kB / 1.241 GB, free: 91.68 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.3679, allocations: 0.9366 MB / 1.242 GB, free: 90.66 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.3681, allocations: 0.7803 MB / 1.243 GB, free: 89.84 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001283/0.3683, allocations: 52.08 kB / 1.243 GB, free: 89.79 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.3683, allocations: 39.42 kB / 1.243 GB, free: 89.75 MB / 0.823 GB Notification: Performance of SimCode: time 1.393e-06/0.3683, allocations: 0 / 1.243 GB, free: 89.75 MB / 0.823 GB Notification: Performance of Templates: time 0.01842/0.3867, allocations: 11.83 MB / 1.255 GB, free: 78.08 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)