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.001263/0.001263, allocations: 109.4 kB / 15.69 MB, free: 128 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.001431/0.001431, allocations: 187.8 kB / 16.62 MB, free: 6.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.566/1.566, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.815/1.815, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001506/0.001506, allocations: 78.42 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3425, allocations: 114.6 MB / 0.7842 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.003058/0.3457, allocations: 1.171 MB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003259/0.3489, allocations: 2.167 MB / 0.7874 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.3492, allocations: 4 kB / 0.7874 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.37e-05/0.3493, allocations: 27.67 kB / 0.7874 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.3497, allocations: 75.27 kB / 0.7875 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003495/0.3532, allocations: 1.398 MB / 0.7889 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001899/0.3551, allocations: 1.295 MB / 0.7901 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3552, allocations: 20.75 kB / 0.7902 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009444/0.3561, allocations: 483.2 kB / 0.7906 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009899/0.3571, allocations: 438.8 kB / 0.791 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004378/0.3576, allocations: 104 kB / 0.7911 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003548/0.358, allocations: 120 kB / 0.7913 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.987e-05/0.3581, allocations: 59.81 kB / 0.7913 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000655/0.3587, allocations: 398.9 kB / 0.7917 GB, free: 5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.3601, allocations: 0.9585 MB / 0.7926 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.3601, allocations: 0 / 0.7926 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.306e-06/0.3601, allocations: 0 / 0.7926 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.255e-05/0.3602, allocations: 4 kB / 0.7926 GB, free: 4.035 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.00224/0.3624, allocations: 1.179 MB / 0.7938 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.3625, allocations: 12.03 kB / 0.7938 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003294/0.3628, allocations: 60.66 kB / 0.7939 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.363, allocations: 224.3 kB / 0.7941 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/0.3631, allocations: 40.36 kB / 0.7941 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.3633, allocations: 68.36 kB / 0.7942 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.3637, allocations: 214.9 kB / 0.7944 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.3637, allocations: 8.062 kB / 0.7944 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.3637, allocations: 11.92 kB / 0.7944 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.3637, allocations: 4 kB / 0.7944 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.3639, allocations: 67.78 kB / 0.7945 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.3649, allocations: 0.8405 MB / 0.7953 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.3653, allocations: 327.2 kB / 0.7956 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.3655, allocations: 140.9 kB / 0.7957 GB, free: 360 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.3655, allocations: 8 kB / 0.7957 GB, free: 352 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006751/0.3662, allocations: 472.4 kB / 0.7962 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 3.156e-06/0.3662, allocations: 3.938 kB / 0.7962 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001122/0.3673, allocations: 0.5613 MB / 0.7967 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002335/0.3676, allocations: 439.2 kB / 0.7972 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.3679, allocations: 300.3 kB / 0.7974 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.3681, allocations: 65.7 kB / 0.7975 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.3683, allocations: 161.3 kB / 0.7977 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.3684, allocations: 94.84 kB / 0.7978 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005128/0.3689, allocations: 270.1 kB / 0.798 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3691, allocations: 350.8 kB / 0.7983 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008971/0.37, allocations: 429.3 kB / 0.7988 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.3711, allocations: 0.6989 MB / 0.7994 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.3728, allocations: 1.191 MB / 0.8006 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/0.3728, allocations: 4 kB / 0.8006 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00297/0.3758, allocations: 1.721 MB / 0.8023 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003349/0.3762, allocations: 485.4 kB / 0.8027 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.3762, allocations: 12 kB / 0.8028 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.3762, allocations: 12 kB / 0.8028 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.355e-05/0.3763, allocations: 31.86 kB / 0.8028 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/0.3763, allocations: 19.88 kB / 0.8028 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.3785, allocations: 411.3 kB / 0.8032 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00022/0.3788, allocations: 99.92 kB / 0.8033 GB, free: 7.82 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.0004618/0.3792, allocations: 214.2 kB / 0.8035 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.3794, allocations: 47.45 kB / 0.8036 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.784e-05/0.3795, allocations: 42.14 kB / 0.8036 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.3795, allocations: 8 kB / 0.8036 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/0.3795, allocations: 4 kB / 0.8036 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3795, allocations: 11.88 kB / 0.8036 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.38, allocations: 325.4 kB / 0.8039 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.38, allocations: 4 kB / 0.8039 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.3801, allocations: 19.92 kB / 0.804 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/0.3801, allocations: 7.938 kB / 0.804 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.3801, allocations: 23.97 kB / 0.804 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.3801, allocations: 7.938 kB / 0.804 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3802, allocations: 8 kB / 0.804 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007797/0.3809, allocations: 0.5082 MB / 0.8045 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.3811, allocations: 124.5 kB / 0.8046 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.3812, allocations: 16 kB / 0.8046 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.3813, allocations: 15.98 kB / 0.8046 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.3814, allocations: 67.81 kB / 0.8047 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.3814, allocations: 27.98 kB / 0.8047 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002068/0.3817, allocations: 187.1 kB / 0.8049 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3817, allocations: 0 / 0.8049 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008889/0.3826, allocations: 196 kB / 0.8051 GB, free: 5.848 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.0002563/0.3828, allocations: 151 kB / 0.8052 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002291/0.3851, allocations: 1.746 MB / 0.807 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3851, allocations: 0 / 0.807 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.3854, allocations: 187.7 kB / 0.8071 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007404/0.3862, allocations: 121.1 kB / 0.8072 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.3876, allocations: 0.6392 MB / 0.8079 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.388, allocations: 0.78 MB / 0.8086 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.3882, allocations: 42.97 kB / 0.8087 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.3883, allocations: 31.44 kB / 0.8087 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of SimCode: time 7.92e-07/0.3883, allocations: 0 / 0.8087 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of Templates: time 0.02269/0.411, allocations: 11.97 MB / 0.8204 GB, free: 6.074 MB / 0.6387 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)