Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009292/0.0009292, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001402/0.002332, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.000911/0.000911, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001248/0.002159, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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 0.9961/0.9961, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09845/1.095, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.792/1.792, allocations: 378.3 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5563/2.348, allocations: 123.3 MB / 0.7283 GB, free: 5.711 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.716e-06/2.716e-06, allocations: 0.7656 kB / 0.7296 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.638e-05/3.91e-05, allocations: 7.531 kB / 0.7296 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002479/0.002518, allocations: 0.9856 MB / 0.7306 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.00449, allocations: 1.502 MB / 0.7321 GB, free: 1.934 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.649e-05/0.004566, allocations: 0 / 0.7321 GB, free: 1.934 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.977e-05/0.004616, allocations: 16.41 kB / 0.7321 GB, free: 1.918 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.004767, allocations: 64.47 kB / 0.7322 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00091/0.005677, allocations: 420.8 kB / 0.7326 GB, free: 1.461 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005972/0.006274, allocations: 494.5 kB / 0.733 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.006406, allocations: 42.52 kB / 0.7331 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003894/0.006795, allocations: 298.1 kB / 0.7334 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.007021, allocations: 131.7 kB / 0.7335 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.338e-05/0.007094, allocations: 48.69 kB / 0.7335 GB, free: 484 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.007245, allocations: 59.94 kB / 0.7336 GB, free: 424 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.007292, allocations: 36.5 kB / 0.7336 GB, free: 388 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.007418, allocations: 97.66 kB / 0.7337 GB, free: 292 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.007811, allocations: 279.3 kB / 0.734 GB, free: 12 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.999e-05/0.007831, allocations: 0 / 0.734 GB, free: 12 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.503e-06/0.007833, allocations: 0 / 0.734 GB, free: 12 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.866e-05/0.007852, allocations: 0 / 0.734 GB, free: 12 kB / 0.698 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.0008924/0.008744, allocations: 0.5771 MB / 0.7345 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.008779, allocations: 8.031 kB / 0.7345 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.008845, allocations: 34.2 kB / 0.7346 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.008975, allocations: 153 kB / 0.7347 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.009003, allocations: 16.38 kB / 0.7347 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.009041, allocations: 24.36 kB / 0.7348 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.009164, allocations: 115.1 kB / 0.7349 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.009172, allocations: 192 / 0.7349 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.009183, allocations: 5.25 kB / 0.7349 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.00919, allocations: 4.375 kB / 0.7349 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.008e-05/0.00923, allocations: 36.39 kB / 0.7349 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.009726, allocations: 0.5216 MB / 0.7354 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.261e-05/0.009819, allocations: 90.42 kB / 0.7355 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.009853, allocations: 40.64 kB / 0.7356 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.009862, allocations: 7.938 kB / 0.7356 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.01003, allocations: 163.3 kB / 0.7357 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.01003, allocations: 0.9688 kB / 0.7357 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002598/0.01029, allocations: 137.4 kB / 0.7358 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.01036, allocations: 136.5 kB / 0.736 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.01051, allocations: 218 kB / 0.7362 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.01055, allocations: 37.7 kB / 0.7362 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.01063, allocations: 124.5 kB / 0.7363 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.01066, allocations: 36.42 kB / 0.7364 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.01077, allocations: 81.61 kB / 0.7365 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.01089, allocations: 340.6 kB / 0.7368 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.0111, allocations: 199 kB / 0.737 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.01134, allocations: 286.4 kB / 0.7372 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.01161, allocations: 316 kB / 0.7375 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.01161, allocations: 0 / 0.7375 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004044/0.01202, allocations: 0.5198 MB / 0.7381 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.992e-05/0.01212, allocations: 135.4 kB / 0.7382 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.01212, allocations: 7.938 kB / 0.7382 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.01214, allocations: 5.938 kB / 0.7382 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.01221, allocations: 15.98 kB / 0.7382 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.01222, allocations: 7.938 kB / 0.7382 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/0.01255, allocations: 85.19 kB / 0.7383 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.01259, allocations: 21.08 kB / 0.7383 GB, free: 11.09 MB / 0.7136 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.000124/0.01272, allocations: 135.2 kB / 0.7384 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.01275, allocations: 19.92 kB / 0.7385 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.146e-05/0.01279, allocations: 21.78 kB / 0.7385 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.0128, allocations: 7.125 kB / 0.7385 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.0128, allocations: 3.984 kB / 0.7385 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.01281, allocations: 7.938 kB / 0.7385 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.01297, allocations: 117.8 kB / 0.7386 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.01297, allocations: 0 / 0.7386 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.01302, allocations: 8 kB / 0.7386 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.01305, allocations: 34.47 kB / 0.7387 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01305, allocations: 0 / 0.7387 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.01307, allocations: 8 kB / 0.7387 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.01307, allocations: 0 / 0.7387 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.01307, allocations: 0 / 0.7387 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.01326, allocations: 147.5 kB / 0.7388 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.01328, allocations: 7.938 kB / 0.7388 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.248e-05/0.01333, allocations: 1.469 kB / 0.7388 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.01337, allocations: 19.97 kB / 0.7388 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.01338, allocations: 8 kB / 0.7388 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.337e-05/0.01346, allocations: 66.78 kB / 0.7389 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.01346, allocations: 0.8125 kB / 0.7389 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002234/0.01368, allocations: 75.89 kB / 0.739 GB, free: 10.36 MB / 0.7136 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.0001747/0.01386, allocations: 94 kB / 0.7391 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005055/0.01436, allocations: 0.534 MB / 0.7396 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.01437, allocations: 0 / 0.7396 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.238e-05/0.01444, allocations: 48.72 kB / 0.7396 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005237/0.01496, allocations: 0.5084 MB / 0.7401 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008295/0.01579, allocations: 339.8 kB / 0.7405 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.355e-05/0.01585, allocations: 77.02 kB / 0.7405 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.645e-05/0.01591, allocations: 25.22 kB / 0.7406 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.01613, allocations: 131.2 kB / 0.7407 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/0.01613, allocations: 0 / 0.7407 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of Templates: time 0.009613/0.02574, allocations: 5.612 MB / 0.7462 GB, free: 3.055 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.062055400572717]