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.001753/0.001753, allocations: 105.4 kB / 15.7 MB, free: 24 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.00211/0.002109, allocations: 199.9 kB / 16.64 MB, free: 6.453 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.669/1.669, 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.901/1.901, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001616/0.001616, allocations: 72.73 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3211, allocations: 114.5 MB / 0.7842 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002508/0.3237, allocations: 0.9761 MB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002143/0.3258, allocations: 1.426 MB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.419e-05/0.3259, allocations: 0 / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.89e-05/0.326, allocations: 19.69 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.3262, allocations: 55.56 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.3273, allocations: 447.3 kB / 0.787 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005276/0.3278, allocations: 0.5069 MB / 0.7875 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.328, allocations: 45.66 kB / 0.7875 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.3282, allocations: 187.5 kB / 0.7877 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/0.3285, allocations: 163.4 kB / 0.7879 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.141e-05/0.3285, allocations: 52 kB / 0.7879 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.3287, allocations: 63.98 kB / 0.788 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.3287, allocations: 39.84 kB / 0.788 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.3289, allocations: 167.4 kB / 0.7882 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.3294, allocations: 0.4908 MB / 0.7887 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3294, allocations: 0 / 0.7887 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3294, allocations: 0 / 0.7887 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3294, allocations: 0 / 0.7887 GB, free: 8.09 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000838/0.3303, allocations: 0.6378 MB / 0.7893 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3303, allocations: 8.031 kB / 0.7893 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.3304, allocations: 28.75 kB / 0.7893 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.3306, allocations: 226.8 kB / 0.7895 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.3307, allocations: 16.31 kB / 0.7895 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.3307, allocations: 24.38 kB / 0.7896 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.3309, allocations: 125.6 kB / 0.7897 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.331, allocations: 192 / 0.7897 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.331, allocations: 7.922 kB / 0.7897 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.331, allocations: 4 kB / 0.7897 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.3311, allocations: 55.92 kB / 0.7898 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009441/0.3321, allocations: 0.8678 MB / 0.7906 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.3323, allocations: 118.4 kB / 0.7907 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.679e-05/0.3323, allocations: 51.48 kB / 0.7908 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.3324, allocations: 4 kB / 0.7908 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002964/0.3327, allocations: 182.6 kB / 0.7909 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.3327, allocations: 3.938 kB / 0.7909 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0004718/0.3332, allocations: 225.3 kB / 0.7912 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.3332, allocations: 136.5 kB / 0.7913 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.3335, allocations: 236.9 kB / 0.7915 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.3335, allocations: 41.7 kB / 0.7916 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3336, allocations: 144.3 kB / 0.7917 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.3337, allocations: 23.62 kB / 0.7917 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.3339, allocations: 97.64 kB / 0.7918 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.334, allocations: 330.8 kB / 0.7921 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.3343, allocations: 148.2 kB / 0.7923 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.3346, allocations: 218.7 kB / 0.7925 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.335, allocations: 376.9 kB / 0.7928 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.335, allocations: 0 / 0.7928 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008792/0.3359, allocations: 0.5508 MB / 0.7934 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-05/0.336, allocations: 134.8 kB / 0.7935 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.336, allocations: 7.984 kB / 0.7935 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3361, allocations: 4 kB / 0.7935 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.3362, allocations: 8 kB / 0.7935 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.3362, allocations: 7.938 kB / 0.7935 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006345/0.3368, allocations: 115.8 kB / 0.7936 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.3369, allocations: 27.97 kB / 0.7937 GB, free: 2.461 MB / 0.6075 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.0001518/0.337, allocations: 150.4 kB / 0.7938 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.3371, allocations: 19.72 kB / 0.7938 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.3371, allocations: 29.23 kB / 0.7939 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3371, allocations: 0 / 0.7939 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3372, allocations: 7.938 kB / 0.7939 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3372, allocations: 3.938 kB / 0.7939 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.3374, allocations: 261.5 kB / 0.7941 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3374, allocations: 0 / 0.7941 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.3375, allocations: 12 kB / 0.7941 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3375, allocations: 3.938 kB / 0.7941 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.3375, allocations: 8 kB / 0.7941 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3375, allocations: 7.984 kB / 0.7941 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3375, allocations: 0 / 0.7941 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.3378, allocations: 222.2 kB / 0.7944 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.3379, allocations: 96.91 kB / 0.7944 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.3379, allocations: 8 kB / 0.7945 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.198e-05/0.338, allocations: 0 / 0.7945 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.338, allocations: 23.92 kB / 0.7945 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.3381, allocations: 7.984 kB / 0.7945 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001438/0.3382, allocations: 172.5 kB / 0.7947 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3382, allocations: 0 / 0.7947 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003294/0.3385, allocations: 67.91 kB / 0.7947 GB, free: 1.277 MB / 0.6075 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.0001676/0.3387, allocations: 108.4 kB / 0.7948 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007098/0.3394, allocations: 0.5405 MB / 0.7953 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3394, allocations: 0 / 0.7953 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.3396, allocations: 63.92 kB / 0.7954 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.34, allocations: 71.34 kB / 0.7955 GB, free: 452 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006598/0.3407, allocations: 342.9 kB / 0.7958 GB, free: 76 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.341, allocations: 0.732 MB / 0.7965 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.043e-05/0.3411, allocations: 17.55 kB / 0.7965 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.3411, allocations: 19.44 kB / 0.7966 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of SimCode: time 3.4e-07/0.3411, allocations: 0 / 0.7966 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of Templates: time 0.008682/0.3498, allocations: 4.576 MB / 0.801 GB, free: 10.77 MB / 0.6231 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)