Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.342/2.342, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001552, allocations: 206.2 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.695/1.695, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 102.4 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 53.91 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3751, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002296/0.3774, allocations: 1.007 MB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.3794, allocations: 1.503 MB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.283e-05/0.3794, allocations: 0 / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 5.792e-05/0.3795, allocations: 11.86 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.3797, allocations: 43.64 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009652/0.3807, allocations: 411.5 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.381, allocations: 423.1 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.3812, allocations: 49.64 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.3814, allocations: 151.5 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.3815, allocations: 131.5 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.3816, allocations: 20 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.563e-05/0.3817, allocations: 35.92 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.3817, allocations: 27.86 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.3819, allocations: 139.4 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.3822, allocations: 476.7 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3822, allocations: 7.938 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3822, allocations: 0 / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.3822, allocations: 0 / 1.222 GB, free: 112.8 MB / 0.823 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.0006599/0.3829, allocations: 0.6302 MB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.383, allocations: 11.98 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.469e-05/0.383, allocations: 28.75 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.3832, allocations: 226.8 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.3832, allocations: 16.38 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.3833, allocations: 20.38 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.3835, allocations: 139.6 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3835, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.3835, allocations: 7.984 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3835, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.903e-05/0.3836, allocations: 55.92 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000801/0.3844, allocations: 0.8679 MB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.3846, allocations: 118.4 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.079e-05/0.3847, allocations: 55.42 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.3847, allocations: 0 / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.3849, allocations: 182.6 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.3849, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.000411/0.3853, allocations: 217.4 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3854, allocations: 148.4 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.3855, allocations: 236.9 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.3856, allocations: 37.7 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.3857, allocations: 132.4 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.3857, allocations: 35.58 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.3859, allocations: 93.64 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.3859, allocations: 330.8 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.3862, allocations: 144.2 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.3864, allocations: 225.5 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.3867, allocations: 372.9 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3867, allocations: 4 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007229/0.3875, allocations: 0.5506 MB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.646e-05/0.3876, allocations: 134.8 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3876, allocations: 3.984 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3876, allocations: 4 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.3877, allocations: 15.94 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.3877, allocations: 7.938 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/0.3883, allocations: 119.9 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.3884, allocations: 19.98 kB / 1.227 GB, free: 107.2 MB / 0.823 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.0001225/0.3885, allocations: 159.4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.3885, allocations: 19.72 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.3886, allocations: 21.23 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3886, allocations: 4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.3886, allocations: 7.938 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3886, allocations: 4 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.3888, allocations: 257.5 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3888, allocations: 0 / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.3889, allocations: 11.98 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.3889, allocations: 4 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.3889, allocations: 15.92 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3889, allocations: 0 / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3889, allocations: 7.938 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.3893, allocations: 0.833 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.101e-05/0.3894, allocations: 100.9 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.3894, allocations: 7.984 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.574e-05/0.3895, allocations: 0 / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.3895, allocations: 19.92 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3895, allocations: 8 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001106/0.3896, allocations: 168.5 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3897, allocations: 0 / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003873/0.39, allocations: 71.84 kB / 1.229 GB, free: 105.3 MB / 0.823 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.0001665/0.3902, allocations: 115.2 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005554/0.3908, allocations: 0.5248 MB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3908, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.96e-05/0.3909, allocations: 63.91 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.3913, allocations: 71.84 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000655/0.392, allocations: 0.53 MB / 1.23 GB, free: 103.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.3922, allocations: 0.7323 MB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 5.916e-05/0.3922, allocations: 17.55 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.3923, allocations: 23.42 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of SimCode: time 1.91e-07/0.3923, allocations: 0 / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of Templates: time 0.007451/0.3997, allocations: 4.516 MB / 1.236 GB, free: 98.66 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)