Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.797/1.797, allocations: 287.4 MB / 303.2 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009946/0.0009947, allocations: 182.7 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000808/0.000808, allocations: 104.8 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004558, allocations: 15.38 kB / 0.8667 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2824, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001249/0.2837, allocations: 0.6649 MB / 0.98 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.2854, allocations: 1.391 MB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.606e-05/0.2855, allocations: 0 / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.2855, allocations: 11.86 kB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.2857, allocations: 43.64 kB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000935/0.2866, allocations: 375 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.287, allocations: 391.1 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.2872, allocations: 37.67 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.2873, allocations: 143.6 kB / 0.9823 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.2875, allocations: 119.5 kB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.244e-05/0.2876, allocations: 20 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.2877, allocations: 31.98 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.514e-05/0.2877, allocations: 31.78 kB / 0.9825 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.547e-05/0.2878, allocations: 73.56 kB / 0.9825 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.2882, allocations: 371.3 kB / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.2882, allocations: 0 / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.267e-06/0.2882, allocations: 0 / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.2882, allocations: 0 / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007975/0.289, allocations: 0.5716 MB / 0.9834 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.2891, allocations: 8.031 kB / 0.9835 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.194e-05/0.2892, allocations: 36.64 kB / 0.9835 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.2894, allocations: 219 kB / 0.9837 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.2894, allocations: 8.375 kB / 0.9837 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.2895, allocations: 28.38 kB / 0.9837 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.2897, allocations: 125.5 kB / 0.9839 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2897, allocations: 192 / 0.9839 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.2897, allocations: 7.922 kB / 0.9839 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.2897, allocations: 4 kB / 0.9839 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.2898, allocations: 55.91 kB / 0.9839 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.2909, allocations: 0.8834 MB / 0.9848 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.2911, allocations: 118.4 kB / 0.9849 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.611e-05/0.2912, allocations: 51.44 kB / 0.9849 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.2912, allocations: 8 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003596/0.2916, allocations: 172.3 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.824e-06/0.2916, allocations: 0 / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.000436/0.2921, allocations: 217.3 kB / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.2921, allocations: 144.5 kB / 0.9855 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.2923, allocations: 236.9 kB / 0.9857 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.2924, allocations: 41.69 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2925, allocations: 132.4 kB / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.2925, allocations: 27.61 kB / 0.9859 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.2926, allocations: 15.98 kB / 0.9859 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.2927, allocations: 330.8 kB / 0.9862 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.2929, allocations: 152.2 kB / 0.9864 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.2932, allocations: 214.7 kB / 0.9866 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.2936, allocations: 368.9 kB / 0.9869 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2936, allocations: 4 kB / 0.9869 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007407/0.2944, allocations: 0.5506 MB / 0.9875 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.703e-05/0.2945, allocations: 134.8 kB / 0.9876 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.2945, allocations: 4 kB / 0.9876 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.2945, allocations: 4 kB / 0.9876 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.2946, allocations: 15.92 kB / 0.9876 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.2947, allocations: 4.25 kB / 0.9876 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007341/0.2954, allocations: 161.7 kB / 0.9878 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/0.2955, allocations: 31.92 kB / 0.9878 GB, free: 18.96 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001672/0.2956, allocations: 161.6 kB / 0.9879 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.2957, allocations: 15.81 kB / 0.988 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.2957, allocations: 21.23 kB / 0.988 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.2957, allocations: 4 kB / 0.988 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2958, allocations: 0 / 0.988 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.2958, allocations: 92.83 kB / 0.9881 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.2958, allocations: 15.92 kB / 0.9881 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.949e-05/0.2959, allocations: 8 kB / 0.9881 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.296, allocations: 12.92 kB / 0.9881 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002785/0.2962, allocations: 486.6 kB / 0.9886 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002802/0.2965, allocations: 0.555 MB / 0.9891 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.939e-05/0.2966, allocations: 71.84 kB / 0.9892 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001029/0.2967, allocations: 164.5 kB / 0.9893 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of Backend: time 8.01e-07/0.2967, allocations: 0 / 0.9893 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.2978, allocations: 0.5678 MB / 0.9899 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of SimCode: time 0.000879/0.2987, allocations: 0.8099 MB / 0.9907 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.007004/0.3057, allocations: 4.307 MB / 0.9949 GB, free: 11.6 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)