Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001822/0.001822, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00243/0.00243, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.005/3.005, allocations: 476.7 MB / 0.7706 GB, free: 4.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.002205/0.002205, allocations: 68 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3959, allocations: 170 MB / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002148/0.3981, allocations: 0.7263 MB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.3998, allocations: 1.172 MB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.26e-05/0.3998, allocations: 4 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.3999, allocations: 3.938 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.223e-05/0.4, allocations: 11.92 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005458/0.4005, allocations: 137.4 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.4008, allocations: 119.8 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.4009, allocations: 15.92 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.984e-05/0.401, allocations: 39.91 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.4011, allocations: 47.83 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.4012, allocations: 12 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.739e-05/0.4012, allocations: 27.98 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.4013, allocations: 3.984 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.575e-05/0.4013, allocations: 47.86 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.4016, allocations: 143.4 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4016, allocations: 0 / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4016, allocations: 0 / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.4016, allocations: 0 / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005975/0.4022, allocations: 323.8 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4022, allocations: 12.03 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.4023, allocations: 8.891 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.4024, allocations: 114.4 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.4024, allocations: 4.375 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.4025, allocations: 12.38 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.4026, allocations: 42.25 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.4026, allocations: 192 / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.4026, allocations: 7.922 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.4026, allocations: 4 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.294e-05/0.4027, allocations: 15.92 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.4033, allocations: 299.9 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.526e-05/0.4033, allocations: 30.52 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.4034, allocations: 12.92 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.4034, allocations: 4 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.4036, allocations: 71.31 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4036, allocations: 0 / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002206/0.4038, allocations: 73.64 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.4038, allocations: 51.41 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.404, allocations: 141.7 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.404, allocations: 25.7 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/0.4041, allocations: 92.09 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.4041, allocations: 7.953 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.4042, allocations: 29.7 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.4043, allocations: 326.8 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/0.4044, allocations: 31.98 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.4045, allocations: 58.56 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.4047, allocations: 92.2 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4047, allocations: 0 / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003051/0.405, allocations: 163.2 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/0.405, allocations: 41.69 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.405, allocations: 3.938 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.4051, allocations: 8.062 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.461e-05/0.4051, allocations: 0 / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.4051, allocations: 4 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.4053, allocations: 23.97 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.4053, allocations: 7.984 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001044/0.4054, allocations: 121.7 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.4055, allocations: 11.89 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.4055, allocations: 12 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.4055, allocations: 4 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4055, allocations: 0 / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4055, allocations: 0 / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.4056, allocations: 144.7 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.4056, allocations: 0 / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.45e-05/0.4057, allocations: 4 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4057, allocations: 0 / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.4057, allocations: 4 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.4057, allocations: 8.062 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4057, allocations: 3.938 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.4058, allocations: 89.05 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.4058, allocations: 11.95 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.4059, allocations: 0 / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.861e-05/0.4059, allocations: 0 / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.4059, allocations: 3.984 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.4059, allocations: 7.938 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.249e-05/0.406, allocations: 99.27 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.406, allocations: 4 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002259/0.4062, allocations: 16 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001671/0.4064, allocations: 99.23 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.4066, allocations: 127.6 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4066, allocations: 0 / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.84e-05/0.4067, allocations: 16.08 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.4069, allocations: 27.62 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.4073, allocations: 146.1 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.4077, allocations: 0.6846 MB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.604e-05/0.4077, allocations: 4 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.4077, allocations: 7.438 kB / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.4077, allocations: 0 / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of Templates: time 0.00478/0.4125, allocations: 1.375 MB / 1.291 GB, free: 3.254 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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: 9.730309801641852]