Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001071/0.001071, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001709/0.00278, allocations: 440 kB / 10.41 MB, free: 284 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.001077/0.001077, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.002504, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9743/0.9743, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1311/1.105, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.648/2.648, allocations: 447.1 MB / 0.675 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3177/2.965, allocations: 146 MB / 0.8176 GB, free: 3.793 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.972e-05, allocations: 6.312 kB / 0.819 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002729/0.002759, allocations: 0.7676 MB / 0.8197 GB, free: 1.656 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.004423, allocations: 1.178 MB / 0.8209 GB, free: 476 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.004478, allocations: 4 kB / 0.8209 GB, free: 472 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.004509, allocations: 3.938 kB / 0.8209 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.074e-05/0.00458, allocations: 19.84 kB / 0.8209 GB, free: 448 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.005043, allocations: 131.6 kB / 0.821 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002833/0.005327, allocations: 123.7 kB / 0.8211 GB, free: 192 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.779e-05/0.005424, allocations: 15.97 kB / 0.8212 GB, free: 176 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.005582, allocations: 75.89 kB / 0.8212 GB, free: 100 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.005709, allocations: 35.88 kB / 0.8213 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.005742, allocations: 12 kB / 0.8213 GB, free: 52 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.005856, allocations: 24 kB / 0.8213 GB, free: 28 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.921e-05/0.005885, allocations: 7.938 kB / 0.8213 GB, free: 20 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 7.214e-05/0.005957, allocations: 27.98 kB / 0.8213 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.006165, allocations: 75.83 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.697e-05/0.006182, allocations: 0 / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.232e-06/0.006183, allocations: 0 / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.896e-05/0.006202, allocations: 0 / 0.8214 GB, free: 15.92 MB / 0.8073 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.0006493/0.006851, allocations: 318 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.0069, allocations: 8.031 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.968e-05/0.00696, allocations: 8.922 kB / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.0071, allocations: 117.7 kB / 0.8218 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.007128, allocations: 4.375 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.007152, allocations: 8.375 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.007264, allocations: 46.95 kB / 0.8219 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.007274, allocations: 4.188 kB / 0.8219 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.007283, allocations: 4.359 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.00729, allocations: 384 / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.062e-05/0.00732, allocations: 11.92 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.007657, allocations: 176.2 kB / 0.8221 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.697e-05/0.007724, allocations: 22.61 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/0.007741, allocations: 8.922 kB / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/0.007748, allocations: 0 / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.007869, allocations: 67.31 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.007871, allocations: 0 / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001511/0.008022, allocations: 57.61 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.008068, allocations: 55.41 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.008174, allocations: 118.6 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.008197, allocations: 29.7 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.008256, allocations: 100.1 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.008272, allocations: 3.953 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.008336, allocations: 33.69 kB / 0.8226 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.008443, allocations: 318.8 kB / 0.8229 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-05/0.008514, allocations: 49.69 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.149e-05/0.008585, allocations: 72.2 kB / 0.823 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.379e-05/0.008679, allocations: 80.25 kB / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.008682, allocations: 0 / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001944/0.008876, allocations: 153.1 kB / 0.8232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.008925, allocations: 41.69 kB / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.008931, allocations: 0 / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.008949, allocations: 11.88 kB / 0.8232 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.481e-05/0.009004, allocations: 3.938 kB / 0.8232 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.009009, allocations: 4 kB / 0.8233 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.009158, allocations: 24.03 kB / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.009175, allocations: 4 kB / 0.8233 GB, free: 13.77 MB / 0.8073 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 8.465e-05/0.00926, allocations: 113.8 kB / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.009275, allocations: 7.984 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.009302, allocations: 4 kB / 0.8234 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.009307, allocations: 3.938 kB / 0.8234 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.009309, allocations: 0 / 0.8234 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.009314, allocations: 4 kB / 0.8234 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.009432, allocations: 73.88 kB / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.009434, allocations: 4 kB / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.009457, allocations: 4 kB / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.009471, allocations: 7.953 kB / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009474, allocations: 0 / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.009479, allocations: 0 / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.009482, allocations: 3.938 kB / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.009485, allocations: 3.984 kB / 0.8235 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.009589, allocations: 73.28 kB / 0.8236 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.009601, allocations: 0 / 0.8236 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.339e-05/0.009624, allocations: 4 kB / 0.8236 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.009652, allocations: 7.969 kB / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.009658, allocations: 7.984 kB / 0.8236 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.292e-05/0.009691, allocations: 25.28 kB / 0.8236 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009691, allocations: 0 / 0.8236 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002056/0.009897, allocations: 19.94 kB / 0.8236 GB, free: 13.36 MB / 0.8073 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.0001863/0.01008, allocations: 80.48 kB / 0.8237 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001898/0.01027, allocations: 153.8 kB / 0.8239 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.01028, allocations: 4 kB / 0.8239 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.932e-05/0.01031, allocations: 12.86 kB / 0.8239 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.01053, allocations: 133.9 kB / 0.824 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000615/0.01115, allocations: 132.6 kB / 0.8241 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.01119, allocations: 63.2 kB / 0.8242 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.307e-05/0.01122, allocations: 4 kB / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.01133, allocations: 67.36 kB / 0.8243 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of SimCode: time 9.11e-07/0.01133, allocations: 0 / 0.8243 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of Templates: time 0.005547/0.01687, allocations: 1.653 MB / 0.8259 GB, free: 11 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.62241710908711]