Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009653/0.0009653, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001485/0.00245, allocations: 449.8 kB / 10.44 MB, free: 252 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.000903/0.000903, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001319/0.002222, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.959/0.959, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09466/1.054, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.941/1.941, allocations: 378.3 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5593/2.5, allocations: 123.3 MB / 0.7283 GB, free: 5.719 MB / 0.698 GB " [Timeout remaining time 177] 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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7297 GB, free: 4.371 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.788e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.367 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001266/0.001284, allocations: 0.7797 MB / 0.7304 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.002311, allocations: 1.178 MB / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.00235, allocations: 0.6875 kB / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.002376, allocations: 7.922 kB / 0.7316 GB, free: 2.426 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.126e-05/0.002428, allocations: 17.42 kB / 0.7316 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.002706, allocations: 128.6 kB / 0.7317 GB, free: 2.289 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.002873, allocations: 132 kB / 0.7319 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.627e-05/0.002949, allocations: 11.14 kB / 0.7319 GB, free: 2.164 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.003062, allocations: 75.55 kB / 0.7319 GB, free: 2.094 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.502e-05/0.003157, allocations: 37.64 kB / 0.732 GB, free: 2.059 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.00318, allocations: 12 kB / 0.732 GB, free: 2.047 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.515e-05/0.003255, allocations: 23.98 kB / 0.732 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.003276, allocations: 4 kB / 0.732 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.003316, allocations: 27.94 kB / 0.732 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.00346, allocations: 82.38 kB / 0.7321 GB, free: 1.914 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.003473, allocations: 0 / 0.7321 GB, free: 1.914 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003474, allocations: 0 / 0.7321 GB, free: 1.914 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.003487, allocations: 0 / 0.7321 GB, free: 1.914 MB / 0.698 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.0004624/0.00395, allocations: 306.1 kB / 0.7324 GB, free: 1.582 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.003984, allocations: 12.03 kB / 0.7324 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.004024, allocations: 8.922 kB / 0.7324 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.371e-05/0.004108, allocations: 114.2 kB / 0.7325 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.004126, allocations: 5.781 kB / 0.7325 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.004145, allocations: 8.375 kB / 0.7326 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.76e-05/0.004222, allocations: 50.94 kB / 0.7326 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.004229, allocations: 192 / 0.7326 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.004235, allocations: 4.812 kB / 0.7326 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.004242, allocations: 0.9062 kB / 0.7326 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.786e-05/0.00426, allocations: 7.938 kB / 0.7326 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.004493, allocations: 177.2 kB / 0.7328 GB, free: 1.156 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.419e-05/0.004537, allocations: 19.17 kB / 0.7328 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.237e-05/0.004549, allocations: 4.859 kB / 0.7328 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-06/0.004556, allocations: 8.656 kB / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.476e-05/0.00464, allocations: 60.05 kB / 0.7329 GB, free: 1.043 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.004641, allocations: 0 / 0.7329 GB, free: 1.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.000111/0.004752, allocations: 58.8 kB / 0.7329 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.00478, allocations: 51.41 kB / 0.733 GB, free: 0.918 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.103e-05/0.004851, allocations: 134.5 kB / 0.7331 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.004869, allocations: 34.73 kB / 0.7331 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.004905, allocations: 92.03 kB / 0.7332 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.004917, allocations: 9.656 kB / 0.7332 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.004956, allocations: 29.7 kB / 0.7333 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.675e-05/0.005033, allocations: 318.8 kB / 0.7336 GB, free: 284 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.507e-05/0.005078, allocations: 49.69 kB / 0.7336 GB, free: 228 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.963e-05/0.005128, allocations: 68.27 kB / 0.7337 GB, free: 144 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.614e-05/0.005194, allocations: 89.05 kB / 0.7338 GB, free: 40 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.005196, allocations: 1.094 kB / 0.7338 GB, free: 40 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001386/0.005335, allocations: 154 kB / 0.7339 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/0.005373, allocations: 37.7 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.005377, allocations: 0 / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.005391, allocations: 5.625 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.484e-05/0.005436, allocations: 7.984 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.005439, allocations: 0 / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.954e-05/0.005539, allocations: 20.86 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.00555, allocations: 4 kB / 0.734 GB, free: 15.79 MB / 0.7136 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 6.116e-05/0.005611, allocations: 114.9 kB / 0.7341 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-06/0.005619, allocations: 7.984 kB / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.005639, allocations: 4 kB / 0.7341 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.005643, allocations: 5.688 kB / 0.7341 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.005644, allocations: 0 / 0.7341 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.005648, allocations: 0 / 0.7341 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.712e-05/0.005715, allocations: 81.88 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005715, allocations: 0 / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.606e-06/0.005724, allocations: 5.156 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-06/0.005734, allocations: 11.94 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.005735, allocations: 0 / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-06/0.005738, allocations: 0.6562 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.00574, allocations: 3.938 kB / 0.7342 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.005741, allocations: 1.125 kB / 0.7342 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.05e-05/0.005801, allocations: 65.12 kB / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.005811, allocations: 3.984 kB / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.228e-05/0.005824, allocations: 4.562 kB / 0.7343 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.005845, allocations: 5.188 kB / 0.7343 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-06/0.005848, allocations: 4 kB / 0.7343 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.119e-05/0.005869, allocations: 29.2 kB / 0.7343 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.00587, allocations: 0 / 0.7343 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001124/0.005982, allocations: 21.19 kB / 0.7343 GB, free: 15.38 MB / 0.7136 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 9.941e-05/0.006081, allocations: 85.38 kB / 0.7344 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.006213, allocations: 133.9 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.006216, allocations: 4.531 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.33e-05/0.006239, allocations: 18.42 kB / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.006386, allocations: 139.8 kB / 0.7347 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.006786, allocations: 141.6 kB / 0.7348 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.089e-05/0.006817, allocations: 59.34 kB / 0.7349 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.04e-05/0.006837, allocations: 4.5 kB / 0.7349 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.464e-05/0.006912, allocations: 72.09 kB / 0.735 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of SimCode: time 1.312e-06/0.006913, allocations: 7.875 kB / 0.735 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of Templates: time 0.002954/0.009867, allocations: 1.64 MB / 0.7366 GB, free: 13.09 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse/Buildings_12_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.199450680986047]