Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 101.6 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.492/1.492, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.849/1.849, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001459/0.001459, allocations: 67.91 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2954, allocations: 114.6 MB / 0.7841 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002438/0.2979, allocations: 0.9654 MB / 0.785 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.2998, allocations: 1.437 MB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.979e-05/0.2998, allocations: 7.938 kB / 0.7864 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.865e-05/0.2999, allocations: 11.81 kB / 0.7864 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.3001, allocations: 47.58 kB / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.3011, allocations: 440.3 kB / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005205/0.3016, allocations: 0.5147 MB / 0.7874 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.3018, allocations: 41.67 kB / 0.7874 GB, free: 376 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.302, allocations: 183.6 kB / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.3022, allocations: 143.4 kB / 0.7877 GB, free: 48 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.662e-05/0.3023, allocations: 48 kB / 0.7878 GB, free: 0 / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4683/0.7706, allocations: 60.75 kB / 0.7878 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.69e-05/0.7707, allocations: 38.81 kB / 0.7879 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.7709, allocations: 164.8 kB / 0.788 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000471/0.7714, allocations: 495 kB / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.7714, allocations: 0 / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7714, allocations: 0 / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.014e-06/0.7715, allocations: 0.8438 kB / 0.7885 GB, free: 46.46 MB / 0.6544 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.0006767/0.7721, allocations: 0.6368 MB / 0.7891 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.7722, allocations: 12.75 kB / 0.7891 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.033e-05/0.7723, allocations: 31.03 kB / 0.7892 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.7724, allocations: 227.2 kB / 0.7894 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.7725, allocations: 14.75 kB / 0.7894 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.7725, allocations: 23.72 kB / 0.7894 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.7727, allocations: 124.8 kB / 0.7895 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.7727, allocations: 2.781 kB / 0.7895 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.7727, allocations: 3.938 kB / 0.7896 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.7727, allocations: 3.469 kB / 0.7896 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.236e-05/0.7728, allocations: 55.62 kB / 0.7896 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007279/0.7736, allocations: 0.8709 MB / 0.7905 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.7737, allocations: 120.3 kB / 0.7906 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.7738, allocations: 53.3 kB / 0.7906 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.7738, allocations: 3.844 kB / 0.7906 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.7741, allocations: 186.8 kB / 0.7908 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.7741, allocations: 0 / 0.7908 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0004035/0.7745, allocations: 223.5 kB / 0.791 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.7745, allocations: 141.4 kB / 0.7912 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.7747, allocations: 237.2 kB / 0.7914 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.7748, allocations: 42.8 kB / 0.7914 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.7748, allocations: 129.4 kB / 0.7915 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.7749, allocations: 34.77 kB / 0.7916 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.775, allocations: 95.08 kB / 0.7917 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.5e-05/0.7751, allocations: 334.6 kB / 0.792 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.7753, allocations: 147 kB / 0.7921 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.7756, allocations: 224.6 kB / 0.7923 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.7759, allocations: 365 kB / 0.7927 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7759, allocations: 0 / 0.7927 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007224/0.7767, allocations: 0.554 MB / 0.7932 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.87e-05/0.7767, allocations: 131.6 kB / 0.7934 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.7768, allocations: 8.875 kB / 0.7934 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.7768, allocations: 2.625 kB / 0.7934 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.839e-05/0.7769, allocations: 16.59 kB / 0.7934 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.7769, allocations: 5.812 kB / 0.7934 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006437/0.7775, allocations: 124.5 kB / 0.7935 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.7776, allocations: 26.16 kB / 0.7935 GB, free: 43.51 MB / 0.6544 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.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.7777, allocations: 152.6 kB / 0.7937 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.7777, allocations: 21.94 kB / 0.7937 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.7778, allocations: 24.06 kB / 0.7937 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.7778, allocations: 0 / 0.7937 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7778, allocations: 3.219 kB / 0.7937 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.7778, allocations: 6.797 kB / 0.7937 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.778, allocations: 258.5 kB / 0.794 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.778, allocations: 3.469 kB / 0.794 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.778, allocations: 12.23 kB / 0.794 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.7781, allocations: 0 / 0.794 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.7781, allocations: 5.656 kB / 0.794 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.7781, allocations: 8.109 kB / 0.794 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7781, allocations: 0 / 0.794 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.7783, allocations: 225.5 kB / 0.7942 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.7784, allocations: 91.66 kB / 0.7943 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.7784, allocations: 4.812 kB / 0.7943 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.045e-05/0.7784, allocations: 9.828 kB / 0.7943 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.7785, allocations: 14.48 kB / 0.7943 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.7785, allocations: 15.27 kB / 0.7943 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001049/0.7786, allocations: 168.1 kB / 0.7945 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7786, allocations: 0 / 0.7945 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003023/0.7789, allocations: 76.67 kB / 0.7946 GB, free: 42.89 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001326/0.7791, allocations: 110.1 kB / 0.7947 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005551/0.7796, allocations: 0.5424 MB / 0.7952 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7796, allocations: 1.688 kB / 0.7952 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.7798, allocations: 83.05 kB / 0.7953 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.7802, allocations: 64.22 kB / 0.7954 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.7807, allocations: 371.2 kB / 0.7957 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.7809, allocations: 0.7322 MB / 0.7964 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.7809, allocations: 21.08 kB / 0.7964 GB, free: 41.6 MB / 0.6544 GB Notification: Performance of SimCode: time 8.11e-07/0.7809, allocations: 4 kB / 0.7965 GB, free: 41.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.005621/0.7865, allocations: 3.479 MB / 0.7998 GB, free: 41.38 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)