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.001333/0.001333, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001485/0.001485, allocations: 221 kB / 23 MB, free: 4.918 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.736/2.736, allocations: 476 MB / 0.7707 GB, free: 4.805 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.002178/0.002178, allocations: 69.69 kB / 1.118 GB, free: 41.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3098, allocations: 170 MB / 1.284 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002012/0.3118, allocations: 0.7252 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.3135, allocations: 1.141 MB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.3135, allocations: 4 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.3136, allocations: 3.938 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.437e-05/0.3137, allocations: 15.91 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.3141, allocations: 131.2 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.3144, allocations: 123.7 kB / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3145, allocations: 15.98 kB / 1.286 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.111e-05/0.3146, allocations: 43.91 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.3147, allocations: 35.89 kB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.3147, allocations: 12 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.361e-05/0.3148, allocations: 23.98 kB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.3148, allocations: 11.92 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.109e-05/0.3148, allocations: 39.91 kB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.3151, allocations: 139.5 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3151, allocations: 0 / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3151, allocations: 0 / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.3151, allocations: 0 / 1.286 GB, free: 9.527 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.0005238/0.3156, allocations: 323.8 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.3156, allocations: 12.03 kB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.3157, allocations: 12.89 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.3158, allocations: 110.5 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.3158, allocations: 4.375 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.3159, allocations: 8.359 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.316, allocations: 46.25 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.316, allocations: 192 / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.316, allocations: 3.938 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.316, allocations: 4 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.3161, allocations: 15.94 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.3165, allocations: 256.5 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.603e-05/0.3165, allocations: 22.58 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.3166, allocations: 16.86 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.3166, allocations: 4 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.3168, allocations: 71.3 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.3168, allocations: 0 / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002141/0.317, allocations: 73.64 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.317, allocations: 51.41 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.3171, allocations: 137.7 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.3172, allocations: 29.7 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.3172, allocations: 88.14 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.3173, allocations: 15.91 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/0.3173, allocations: 29.7 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3175, allocations: 318.8 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.3176, allocations: 69.62 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.3177, allocations: 92.25 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.3179, allocations: 88.27 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3179, allocations: 0 / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003197/0.3182, allocations: 197.1 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.3182, allocations: 41.69 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3182, allocations: 0 / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.3182, allocations: 11.97 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.761e-05/0.3183, allocations: 0 / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3183, allocations: 4 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.3185, allocations: 27.92 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.3185, allocations: 8.047 kB / 1.288 GB, free: 7.141 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.0001041/0.3186, allocations: 125.8 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.3186, allocations: 8 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.3187, allocations: 8 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3187, allocations: 4 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3187, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3187, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.3188, allocations: 117.3 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3188, allocations: 3.938 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.893e-05/0.3188, allocations: 4 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3188, allocations: 0 / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.3188, allocations: 4 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3188, allocations: 0 / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3188, allocations: 0 / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.319, allocations: 97 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.319, allocations: 15.83 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.319, allocations: 0 / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.911e-05/0.319, allocations: 0 / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.3191, allocations: 4 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.381e-06/0.3191, allocations: 7.922 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.038e-05/0.3191, allocations: 99.66 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3191, allocations: 0 / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002216/0.3194, allocations: 23.98 kB / 1.289 GB, free: 6.566 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.0001732/0.3195, allocations: 99.25 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002686/0.3198, allocations: 161 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3198, allocations: 0 / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.987e-05/0.3198, allocations: 12 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.3201, allocations: 15.92 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.3204, allocations: 183.9 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.65e-05/0.3205, allocations: 67.34 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.3205, allocations: 11.44 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3205, allocations: 0 / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of Templates: time 0.003098/0.3236, allocations: 1.17 MB / 1.29 GB, free: 4.793 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.025009924080223]