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.001745/0.001745, allocations: 100 kB / 16.36 MB, free: 6.301 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.002335/0.002335, allocations: 192.8 kB / 17.29 MB, free: 5.875 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.417/1.417, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.844/1.844, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.00144/0.00144, allocations: 67.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2724, allocations: 114.5 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002511/0.275, allocations: 0.9812 MB / 0.7858 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002033/0.277, allocations: 1.433 MB / 0.7872 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.2771, allocations: 0 / 0.7872 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.759e-05/0.2772, allocations: 11.81 kB / 0.7872 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.2774, allocations: 59.5 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.2785, allocations: 440.9 kB / 0.7876 GB, free: 244 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.4562/0.7347, allocations: 0.5096 MB / 0.7881 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.735, allocations: 44.81 kB / 0.7882 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.7353, allocations: 184.1 kB / 0.7884 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.7355, allocations: 166 kB / 0.7885 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.857e-05/0.7356, allocations: 51.38 kB / 0.7886 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.7357, allocations: 62.5 kB / 0.7886 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.7358, allocations: 43.34 kB / 0.7887 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.736, allocations: 160.6 kB / 0.7888 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.7364, allocations: 0.4914 MB / 0.7893 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7364, allocations: 1.625 kB / 0.7893 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.136e-06/0.7365, allocations: 0 / 0.7893 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.7365, allocations: 3.938 kB / 0.7893 GB, free: 46.57 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.0007122/0.7372, allocations: 0.6326 MB / 0.7899 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.7372, allocations: 13 kB / 0.7899 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.148e-05/0.7373, allocations: 33.25 kB / 0.79 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.7375, allocations: 221.5 kB / 0.7902 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.7375, allocations: 16.38 kB / 0.7902 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.7376, allocations: 24.17 kB / 0.7902 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.7378, allocations: 122.8 kB / 0.7903 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.7378, allocations: 2.875 kB / 0.7903 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.7378, allocations: 6.031 kB / 0.7903 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.7378, allocations: 2.625 kB / 0.7904 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.696e-05/0.7379, allocations: 57.3 kB / 0.7904 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007403/0.7387, allocations: 0.8669 MB / 0.7913 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.7388, allocations: 118.5 kB / 0.7914 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.326e-05/0.7389, allocations: 54.89 kB / 0.7914 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.7389, allocations: 3.312 kB / 0.7914 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.7391, allocations: 177.4 kB / 0.7916 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.7391, allocations: 0.6562 kB / 0.7916 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0003955/0.7395, allocations: 229.3 kB / 0.7918 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.7396, allocations: 138.7 kB / 0.7919 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.7398, allocations: 241.3 kB / 0.7922 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.7398, allocations: 38.39 kB / 0.7922 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.7399, allocations: 125.5 kB / 0.7923 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.74, allocations: 39.7 kB / 0.7924 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.7401, allocations: 90.2 kB / 0.7925 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.308e-05/0.7402, allocations: 338.5 kB / 0.7928 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.7405, allocations: 147.2 kB / 0.7929 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.7408, allocations: 230.5 kB / 0.7931 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.7411, allocations: 365.6 kB / 0.7935 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.7411, allocations: 2.375 kB / 0.7935 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007612/0.7419, allocations: 0.5515 MB / 0.794 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.376e-05/0.7419, allocations: 138.7 kB / 0.7942 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.742, allocations: 3.469 kB / 0.7942 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.742, allocations: 3.5 kB / 0.7942 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.7421, allocations: 13.42 kB / 0.7942 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.7421, allocations: 8.875 kB / 0.7942 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/0.7427, allocations: 113.5 kB / 0.7943 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.077e-05/0.7428, allocations: 27.28 kB / 0.7943 GB, free: 43.62 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.0001287/0.7429, allocations: 147.9 kB / 0.7945 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.743, allocations: 23.03 kB / 0.7945 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/0.743, allocations: 19.45 kB / 0.7945 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.743, allocations: 7.688 kB / 0.7945 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.743, allocations: 3.438 kB / 0.7945 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.743, allocations: 8.656 kB / 0.7945 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.7432, allocations: 262.4 kB / 0.7948 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.7432, allocations: 3.344 kB / 0.7948 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.7433, allocations: 10.38 kB / 0.7948 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.7433, allocations: 0 / 0.7948 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.7433, allocations: 9.359 kB / 0.7948 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.7433, allocations: 3.5 kB / 0.7948 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7433, allocations: 0 / 0.7948 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.7436, allocations: 216.3 kB / 0.795 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.7436, allocations: 98.69 kB / 0.7951 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.7437, allocations: 3.969 kB / 0.7951 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.026e-05/0.7437, allocations: 4.219 kB / 0.7951 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.7438, allocations: 19.31 kB / 0.7951 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.7438, allocations: 15.12 kB / 0.7951 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001227/0.7439, allocations: 167.8 kB / 0.7953 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7439, allocations: 0 / 0.7953 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003038/0.7442, allocations: 76.94 kB / 0.7954 GB, free: 43 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.0001593/0.7444, allocations: 116.6 kB / 0.7955 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005715/0.745, allocations: 0.5303 MB / 0.796 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.745, allocations: 0 / 0.796 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.7451, allocations: 87.72 kB / 0.7961 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.7456, allocations: 66.52 kB / 0.7961 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.7461, allocations: 369.5 kB / 0.7965 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.7463, allocations: 0.7307 MB / 0.7972 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.7463, allocations: 19.2 kB / 0.7972 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7463, allocations: 0 / 0.7972 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.006177/0.7525, allocations: 3.484 MB / 0.8006 GB, free: 41.49 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)