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.001697/0.001697, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00223/0.00223, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.616/1.616, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.532/3.532, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.002222/0.002222, allocations: 65.33 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4721, allocations: 181.9 MB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002336/0.4744, allocations: 0.7091 MB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.4761, allocations: 1.147 MB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.4762, allocations: 3.938 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.4762, allocations: 7.938 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.497e-05/0.4763, allocations: 19.86 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.4769, allocations: 125.8 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.4771, allocations: 123.8 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.4772, allocations: 8 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.4773, allocations: 51.89 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.4774, allocations: 35.77 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.4774, allocations: 16 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.871e-05/0.4775, allocations: 20 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.4775, allocations: 19.92 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.294e-05/0.4776, allocations: 39.91 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.4778, allocations: 135.6 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4778, allocations: 0 / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4778, allocations: 0 / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4779, allocations: 0 / 1.366 GB, free: 11.06 MB / 1.061 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.0006072/0.4785, allocations: 315.8 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4785, allocations: 8.031 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/0.4786, allocations: 8.938 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.4787, allocations: 118.5 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.4787, allocations: 8.375 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.4788, allocations: 4.375 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.4789, allocations: 55.23 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4789, allocations: 192 / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.4789, allocations: 3.938 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.4789, allocations: 0 / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.258e-05/0.479, allocations: 15.98 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.4794, allocations: 252.5 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.476e-05/0.4795, allocations: 34.5 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.4795, allocations: 16.86 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.4795, allocations: 7.938 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.4797, allocations: 63.39 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4797, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.000221/0.4799, allocations: 77.58 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.48, allocations: 55.39 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.4801, allocations: 126.2 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.4801, allocations: 25.7 kB / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.4802, allocations: 92.12 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.4802, allocations: 15.94 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.545e-05/0.4803, allocations: 29.7 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4805, allocations: 310.8 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.4806, allocations: 77.67 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.4807, allocations: 84.27 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.4809, allocations: 100.3 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4809, allocations: 0 / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003469/0.4812, allocations: 200.9 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-05/0.4813, allocations: 37.7 kB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.4813, allocations: 3.938 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4813, allocations: 64 / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.925e-05/0.4813, allocations: 11.98 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.4814, allocations: 0 / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.4815, allocations: 23.97 kB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.4816, allocations: 8 kB / 1.368 GB, free: 8.68 MB / 1.061 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.0001148/0.4817, allocations: 117.8 kB / 1.368 GB, free: 8.555 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.4817, allocations: 7.953 kB / 1.368 GB, free: 8.547 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.4817, allocations: 11.98 kB / 1.368 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.4817, allocations: 0 / 1.368 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4817, allocations: 4 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4817, allocations: 4 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.4819, allocations: 117.2 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4819, allocations: 3.938 kB / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.416e-05/0.4819, allocations: 0 / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.4819, allocations: 4 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.4819, allocations: 7.922 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4819, allocations: 0 / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.4819, allocations: 0 / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.4821, allocations: 93.3 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.4821, allocations: 15.83 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.4821, allocations: 4 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.067e-05/0.4821, allocations: 3.984 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.4821, allocations: 0 / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.4821, allocations: 4 kB / 1.369 GB, free: 8.219 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.942e-05/0.4822, allocations: 103.3 kB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4822, allocations: 0 / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002122/0.4824, allocations: 16 kB / 1.369 GB, free: 8.102 MB / 1.061 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.0001977/0.4826, allocations: 111.2 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.4829, allocations: 153.1 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4829, allocations: 0 / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.202e-05/0.483, allocations: 19.92 kB / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.4832, allocations: 19.88 kB / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.4835, allocations: 142.1 kB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.723e-05/0.4836, allocations: 71.33 kB / 1.369 GB, free: 7.523 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.665e-05/0.4836, allocations: 4.062 kB / 1.369 GB, free: 7.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.4837, allocations: 19.44 kB / 1.369 GB, free: 7.5 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4837, allocations: 0 / 1.369 GB, free: 7.5 MB / 1.061 GB Notification: Performance of Templates: time 0.004693/0.4884, allocations: 1.51 MB / 1.371 GB, free: 6.027 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.888485526666045]