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.001576/0.001576, allocations: 110.5 kB / 19.69 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.001789/0.001789, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 8.031 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 2.743/2.743, allocations: 476.7 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] 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.002021/0.002021, allocations: 71.52 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3037, allocations: 170 MB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002006/0.3057, allocations: 0.7249 MB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.3073, allocations: 1.168 MB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.3074, allocations: 0 / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.3074, allocations: 3.938 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.438e-05/0.3075, allocations: 23.84 kB / 1.287 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.308, allocations: 129.6 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.3082, allocations: 115.8 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.3083, allocations: 15.97 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.888e-05/0.3084, allocations: 47.92 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.3085, allocations: 47.7 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.3085, allocations: 16 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.403e-05/0.3086, allocations: 27.97 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.3086, allocations: 8 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.022e-05/0.3087, allocations: 43.84 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.3089, allocations: 131.6 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3089, allocations: 0 / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3089, allocations: 0 / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3089, allocations: 0 / 1.287 GB, free: 8.668 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.0006599/0.3096, allocations: 327.8 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.3096, allocations: 8.031 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.488e-05/0.3097, allocations: 12.89 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.3099, allocations: 118.4 kB / 1.288 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.3099, allocations: 8.359 kB / 1.288 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.3099, allocations: 4.375 kB / 1.288 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.31, allocations: 42.25 kB / 1.288 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.31, allocations: 192 / 1.288 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.3101, allocations: 7.938 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.3101, allocations: 0 / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.707e-05/0.3101, allocations: 16 kB / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005756/0.3107, allocations: 303.8 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.037e-05/0.3108, allocations: 30.52 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.3108, allocations: 16.91 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.3108, allocations: 0 / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.311, allocations: 67.38 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.311, allocations: 4 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000271/0.3113, allocations: 77.58 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.3113, allocations: 51.41 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.3115, allocations: 129.8 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.3115, allocations: 29.7 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.581e-05/0.3116, allocations: 92.09 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.3116, allocations: 7.938 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.277e-05/0.3117, allocations: 37.7 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3119, allocations: 318.8 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.312, allocations: 35.98 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.3121, allocations: 58.61 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.3122, allocations: 100.1 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3122, allocations: 4 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003304/0.3126, allocations: 163.2 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/0.3126, allocations: 37.7 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3126, allocations: 0 / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3126, allocations: 3.938 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.779e-05/0.3127, allocations: 4 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.3127, allocations: 3.984 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.3129, allocations: 23.97 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.3129, allocations: 12.06 kB / 1.289 GB, free: 6.324 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.0001125/0.313, allocations: 121.7 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.313, allocations: 7.953 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.3131, allocations: 11.98 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3131, allocations: 0 / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3131, allocations: 0 / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3131, allocations: 4 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.3132, allocations: 140.7 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3132, allocations: 0 / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.64e-05/0.3132, allocations: 8 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.3132, allocations: 0 / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3133, allocations: 3.984 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3133, allocations: 0 / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3133, allocations: 0 / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.3134, allocations: 93 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.322e-05/0.3134, allocations: 3.953 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.3134, allocations: 7.984 kB / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.151e-05/0.3134, allocations: 8 kB / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.3135, allocations: 4 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.3135, allocations: 4 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.674e-05/0.3136, allocations: 95.27 kB / 1.29 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3136, allocations: 3.938 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002158/0.3138, allocations: 23.94 kB / 1.29 GB, free: 5.719 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.0001631/0.3139, allocations: 103.2 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.3142, allocations: 127.3 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3142, allocations: 0 / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.723e-05/0.3142, allocations: 12 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.3144, allocations: 26.36 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.3148, allocations: 167.8 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.3151, allocations: 0.6847 MB / 1.291 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.3152, allocations: 11.44 kB / 1.291 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3152, allocations: 4 kB / 1.291 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of Templates: time 0.003006/0.3182, allocations: 1.157 MB / 1.292 GB, free: 3.371 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/jenkins1/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: 11.072132513014367]