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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 218.1 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.451/3.451, allocations: 0.505 GB / 0.8108 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.86 kB / 1.178 GB, free: 16.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3292, allocations: 180.2 MB / 1.354 GB, free: 7.996 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00235/0.3315, allocations: 0.98 MB / 1.355 GB, free: 7.016 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.3335, allocations: 1.467 MB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.555e-05/0.3336, allocations: 4 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.26e-05/0.3337, allocations: 19.73 kB / 1.357 GB, free: 5.512 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.3338, allocations: 59.56 kB / 1.357 GB, free: 5.453 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.3349, allocations: 436.9 kB / 1.357 GB, free: 5.039 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005424/0.3354, allocations: 495.1 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.3355, allocations: 25.95 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.3357, allocations: 187.6 kB / 1.358 GB, free: 4.348 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.336, allocations: 167.5 kB / 1.358 GB, free: 4.184 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.432e-05/0.3361, allocations: 48 kB / 1.358 GB, free: 4.137 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.3362, allocations: 75.86 kB / 1.358 GB, free: 4.062 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.3362, allocations: 31.92 kB / 1.358 GB, free: 4.031 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.3364, allocations: 171.4 kB / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005287/0.337, allocations: 0.4945 MB / 1.359 GB, free: 3.367 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.337, allocations: 0 / 1.359 GB, free: 3.367 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.003e-06/0.337, allocations: 0 / 1.359 GB, free: 3.367 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.337, allocations: 0 / 1.359 GB, free: 3.367 MB / 1.045 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.0008638/0.3378, allocations: 0.5702 MB / 1.359 GB, free: 2.738 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3379, allocations: 8.031 kB / 1.359 GB, free: 2.73 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.397e-05/0.338, allocations: 32.8 kB / 1.359 GB, free: 2.699 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3382, allocations: 173.2 kB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.3382, allocations: 8.375 kB / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.052e-05/0.3383, allocations: 32.34 kB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.3385, allocations: 119.5 kB / 1.36 GB, free: 2.336 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3385, allocations: 4.125 kB / 1.36 GB, free: 2.332 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3385, allocations: 3.938 kB / 1.36 GB, free: 2.328 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.3385, allocations: 4 kB / 1.36 GB, free: 2.324 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.3386, allocations: 63.97 kB / 1.36 GB, free: 2.262 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.3397, allocations: 0.8435 MB / 1.36 GB, free: 1.363 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.3399, allocations: 111 kB / 1.361 GB, free: 1.219 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.34, allocations: 55.48 kB / 1.361 GB, free: 1.152 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.34, allocations: 0 / 1.361 GB, free: 1.152 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003544/0.3404, allocations: 178.6 kB / 1.361 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.3404, allocations: 0 / 1.361 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0004879/0.3409, allocations: 221.4 kB / 1.361 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.341, allocations: 140.5 kB / 1.361 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.3413, allocations: 240.8 kB / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.3413, allocations: 37.7 kB / 1.361 GB, free: 280 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.3415, allocations: 132.5 kB / 1.361 GB, free: 144 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.3415, allocations: 31.8 kB / 1.362 GB, free: 112 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.3417, allocations: 93.64 kB / 1.362 GB, free: 12 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.3419, allocations: 338.7 kB / 1.362 GB, free: 15.67 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.3422, allocations: 144.2 kB / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.3425, allocations: 233.8 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.343, allocations: 364.9 kB / 1.363 GB, free: 14.85 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.343, allocations: 0 / 1.363 GB, free: 14.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009599/0.3439, allocations: 0.5663 MB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.3441, allocations: 134.8 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.3441, allocations: 7.938 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.3441, allocations: 7.984 kB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.3442, allocations: 12 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.3442, allocations: 7.938 kB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.3448, allocations: 112 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-05/0.3449, allocations: 32.91 kB / 1.363 GB, free: 13.92 MB / 1.061 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.00017/0.345, allocations: 153.7 kB / 1.364 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.3451, allocations: 19.86 kB / 1.364 GB, free: 13.74 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.493e-05/0.3451, allocations: 25.33 kB / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3451, allocations: 0 / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3451, allocations: 4 kB / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.3452, allocations: 7.875 kB / 1.364 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.3454, allocations: 236.5 kB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3454, allocations: 0 / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.3455, allocations: 11.98 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3455, allocations: 4 kB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3455, allocations: 4 kB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.3455, allocations: 4 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3455, allocations: 0 / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.3458, allocations: 229.9 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.3458, allocations: 19.84 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.3459, allocations: 12 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.938e-05/0.3459, allocations: 4 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.346, allocations: 23.91 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.346, allocations: 4 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001757/0.3462, allocations: 176.4 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3462, allocations: 0 / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003175/0.3465, allocations: 64 kB / 1.364 GB, free: 12.84 MB / 1.061 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.0001618/0.3466, allocations: 115.3 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007131/0.3473, allocations: 485.4 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3474, allocations: 0 / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.3475, allocations: 71.91 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.3479, allocations: 72.8 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006866/0.3486, allocations: 376.3 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.349, allocations: 0.732 MB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.3491, allocations: 23.44 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3491, allocations: 0 / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of Templates: time 0.006232/0.3553, allocations: 3.5 MB / 1.37 GB, free: 7.406 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.950863702979404]