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.001947/0.001947, allocations: 108 kB / 15.61 MB, free: 152 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.002678/0.002678, allocations: 192.2 kB / 16.53 MB, free: 6.664 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.89/1.89, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.863/1.863, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001508/0.001508, allocations: 64.95 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2944, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.002616/0.297, allocations: 1.176 MB / 0.7845 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00291/0.3, allocations: 2.167 MB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.3001, allocations: 4 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.375e-05/0.3002, allocations: 19.69 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.3004, allocations: 83.2 kB / 0.7868 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.3035, allocations: 1.39 MB / 0.7881 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.305, allocations: 1.283 MB / 0.7894 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.554e-05/0.3051, allocations: 20.75 kB / 0.7894 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005296/0.3056, allocations: 483.2 kB / 0.7899 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/0.306, allocations: 343 kB / 0.7902 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.3062, allocations: 104 kB / 0.7903 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.3065, allocations: 120 kB / 0.7904 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.3065, allocations: 59.81 kB / 0.7904 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004477/0.307, allocations: 391 kB / 0.7908 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009702/0.308, allocations: 0.9626 MB / 0.7918 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.308, allocations: 3.984 kB / 0.7918 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.308, allocations: 0 / 0.7918 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.308, allocations: 4 kB / 0.7918 GB, free: 4.891 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.001428/0.3094, allocations: 1.176 MB / 0.7929 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.081e-05/0.3096, allocations: 11.97 kB / 0.7929 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.3098, allocations: 64.64 kB / 0.793 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.31, allocations: 224.3 kB / 0.7932 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.31, allocations: 36.38 kB / 0.7932 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.3102, allocations: 64.36 kB / 0.7933 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.3105, allocations: 207 kB / 0.7935 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3105, allocations: 8.125 kB / 0.7935 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.3105, allocations: 15.91 kB / 0.7935 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3105, allocations: 4 kB / 0.7935 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.3107, allocations: 67.78 kB / 0.7936 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009371/0.3116, allocations: 0.8444 MB / 0.7944 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.3119, allocations: 331.1 kB / 0.7947 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.3121, allocations: 144.9 kB / 0.7949 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.3121, allocations: 3.984 kB / 0.7949 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006742/0.3128, allocations: 466.6 kB / 0.7953 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 1.573e-06/0.3128, allocations: 0 / 0.7953 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.001064/0.3139, allocations: 0.5653 MB / 0.7959 GB, free: 116 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002482/0.3142, allocations: 435.2 kB / 0.7963 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.3145, allocations: 296.2 kB / 0.7966 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.3146, allocations: 73.69 kB / 0.7966 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.3148, allocations: 157.3 kB / 0.7968 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.87e-05/0.3149, allocations: 94.84 kB / 0.7969 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004946/0.3154, allocations: 278.1 kB / 0.7971 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3156, allocations: 350.8 kB / 0.7975 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008892/0.3165, allocations: 421.3 kB / 0.7979 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.3176, allocations: 0.7028 MB / 0.7986 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.319, allocations: 1.199 MB / 0.7997 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.319, allocations: 0 / 0.7997 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003006/0.322, allocations: 1.713 MB / 0.8014 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003112/0.3223, allocations: 487.9 kB / 0.8019 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.3224, allocations: 16.16 kB / 0.8019 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/0.3224, allocations: 16 kB / 0.8019 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.3225, allocations: 31.8 kB / 0.8019 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/0.3225, allocations: 23.92 kB / 0.802 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.3249, allocations: 410.9 kB / 0.8023 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/0.3251, allocations: 103.9 kB / 0.8024 GB, free: 8.676 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.0004406/0.3255, allocations: 218.2 kB / 0.8027 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-05/0.3256, allocations: 47.47 kB / 0.8027 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.884e-05/0.3257, allocations: 34.14 kB / 0.8027 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.3257, allocations: 8 kB / 0.8027 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.3257, allocations: 4 kB / 0.8027 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.3257, allocations: 7.984 kB / 0.8028 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.3261, allocations: 333.4 kB / 0.8031 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.3261, allocations: 4 kB / 0.8031 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.3262, allocations: 23.86 kB / 0.8031 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.3262, allocations: 11.94 kB / 0.8031 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.3262, allocations: 15.98 kB / 0.8031 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.3262, allocations: 8 kB / 0.8031 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.3262, allocations: 7.984 kB / 0.8031 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/0.3269, allocations: 0.5157 MB / 0.8036 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-05/0.327, allocations: 116.6 kB / 0.8038 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.327, allocations: 15.98 kB / 0.8038 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3271, allocations: 19.92 kB / 0.8038 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/0.3272, allocations: 67.8 kB / 0.8039 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.3273, allocations: 31.98 kB / 0.8039 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001489/0.3274, allocations: 187.1 kB / 0.8041 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3274, allocations: 0 / 0.8041 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006468/0.3281, allocations: 196 kB / 0.8042 GB, free: 6.695 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.000207/0.3283, allocations: 135 kB / 0.8044 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002163/0.3305, allocations: 1.766 MB / 0.8061 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3305, allocations: 0 / 0.8061 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.3307, allocations: 180.4 kB / 0.8063 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007494/0.3315, allocations: 139.3 kB / 0.8064 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.3327, allocations: 0.6402 MB / 0.807 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.333, allocations: 0.7761 MB / 0.8078 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001262/0.3332, allocations: 46.95 kB / 0.8078 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.3332, allocations: 31.44 kB / 0.8079 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of SimCode: time 6.02e-07/0.3332, allocations: 3.938 kB / 0.8079 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of Templates: time 0.0212/0.3545, allocations: 11.96 MB / 0.8196 GB, free: 6.898 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)