Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.563/1.563, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.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.931/1.931, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001533/0.001533, allocations: 72.88 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3392, allocations: 114.5 MB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.00318/0.3424, allocations: 1.183 MB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003178/0.3456, allocations: 2.163 MB / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002916/0.3459, allocations: 4 kB / 0.7874 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.3461, allocations: 27.67 kB / 0.7874 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.3464, allocations: 83.2 kB / 0.7875 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.3503, allocations: 1.395 MB / 0.7889 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001699/0.352, allocations: 1.287 MB / 0.7901 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.891e-05/0.3521, allocations: 24.73 kB / 0.7902 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006079/0.3527, allocations: 487.2 kB / 0.7906 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006588/0.3534, allocations: 430.8 kB / 0.791 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001964/0.3536, allocations: 104 kB / 0.7911 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.3538, allocations: 124 kB / 0.7913 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.897e-05/0.3539, allocations: 59.83 kB / 0.7913 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004088/0.3543, allocations: 391 kB / 0.7917 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009716/0.3553, allocations: 0.9624 MB / 0.7926 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.3553, allocations: 7.938 kB / 0.7926 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3553, allocations: 0 / 0.7926 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.3553, allocations: 0 / 0.7926 GB, free: 4.012 MB / 0.6075 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.001452/0.3568, allocations: 1.176 MB / 0.7938 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.3568, allocations: 12.03 kB / 0.7938 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.3571, allocations: 60.66 kB / 0.7939 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.3573, allocations: 224.3 kB / 0.7941 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.3573, allocations: 36.36 kB / 0.7941 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.3575, allocations: 68.36 kB / 0.7942 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.3578, allocations: 214.1 kB / 0.7944 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3578, allocations: 192 / 0.7944 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.3579, allocations: 15.94 kB / 0.7944 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3579, allocations: 8 kB / 0.7944 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.358, allocations: 67.77 kB / 0.7945 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009441/0.359, allocations: 0.8483 MB / 0.7953 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.3593, allocations: 327.2 kB / 0.7956 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.3595, allocations: 136.9 kB / 0.7957 GB, free: 344 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.3595, allocations: 8 kB / 0.7957 GB, free: 336 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006575/0.3601, allocations: 470.6 kB / 0.7962 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 1.844e-06/0.3602, allocations: 0 / 0.7962 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001043/0.3612, allocations: 0.5616 MB / 0.7967 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002594/0.3615, allocations: 435.2 kB / 0.7972 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.3618, allocations: 296.3 kB / 0.7974 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.3619, allocations: 69.64 kB / 0.7975 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.3621, allocations: 165.3 kB / 0.7977 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.644e-05/0.3622, allocations: 94.84 kB / 0.7978 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004793/0.3627, allocations: 274.1 kB / 0.798 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002345/0.3629, allocations: 350.8 kB / 0.7983 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008829/0.3638, allocations: 425.3 kB / 0.7988 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.3649, allocations: 0.7028 MB / 0.7994 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.3664, allocations: 1.199 MB / 0.8006 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.3664, allocations: 4 kB / 0.8006 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002784/0.3692, allocations: 1.717 MB / 0.8023 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003237/0.3695, allocations: 490.3 kB / 0.8028 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.3696, allocations: 12 kB / 0.8028 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/0.3696, allocations: 12 kB / 0.8028 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.876e-05/0.3697, allocations: 31.89 kB / 0.8028 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.3697, allocations: 15.94 kB / 0.8028 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.3718, allocations: 411 kB / 0.8032 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.372, allocations: 95.92 kB / 0.8033 GB, free: 7.805 MB / 0.6231 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.0003476/0.3724, allocations: 218.2 kB / 0.8035 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.547e-05/0.3725, allocations: 47.47 kB / 0.8036 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/0.3726, allocations: 42.08 kB / 0.8036 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.3726, allocations: 15.98 kB / 0.8036 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/0.3726, allocations: 4 kB / 0.8036 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3726, allocations: 4 kB / 0.8036 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/0.373, allocations: 321.4 kB / 0.8039 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.373, allocations: 8 kB / 0.8039 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.3731, allocations: 23.92 kB / 0.804 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.3731, allocations: 7.938 kB / 0.804 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.3731, allocations: 19.98 kB / 0.804 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/0.3731, allocations: 7.984 kB / 0.804 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.85e-06/0.3731, allocations: 7.938 kB / 0.804 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006476/0.3738, allocations: 0.5196 MB / 0.8045 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.3739, allocations: 116.6 kB / 0.8046 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.3739, allocations: 19.98 kB / 0.8046 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.374, allocations: 11.98 kB / 0.8047 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/0.3741, allocations: 55.88 kB / 0.8047 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.3742, allocations: 27.98 kB / 0.8047 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001716/0.3744, allocations: 195 kB / 0.8049 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.41e-07/0.3744, allocations: 0 / 0.8049 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006496/0.375, allocations: 200 kB / 0.8051 GB, free: 5.824 MB / 0.6231 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.0002038/0.3752, allocations: 135.1 kB / 0.8052 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002067/0.3773, allocations: 1.75 MB / 0.8069 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.3773, allocations: 4 kB / 0.807 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.3776, allocations: 180.8 kB / 0.8071 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007006/0.3783, allocations: 129.4 kB / 0.8072 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.3794, allocations: 0.6412 MB / 0.8079 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.3798, allocations: 0.78 MB / 0.8086 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.3799, allocations: 38.98 kB / 0.8087 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.352e-05/0.38, allocations: 35.42 kB / 0.8087 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.38, allocations: 0 / 0.8087 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of Templates: time 0.02167/0.4017, allocations: 11.95 MB / 0.8204 GB, free: 6.066 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)