Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.001978/0.001978, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.002008/0.002008, allocations: 216.2 kB / 22.24 MB, free: 5.094 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.836 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.476/3.476, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [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.00234/0.00234, allocations: 75.55 kB / 1.186 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4798, allocations: 181.8 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002179/0.4819, allocations: 0.739 MB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.4836, allocations: 1.16 MB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.4836, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.714e-05/0.4837, allocations: 3.938 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.909e-05/0.4838, allocations: 15.84 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.4843, allocations: 134.6 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.4845, allocations: 119.8 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.4846, allocations: 15.97 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.4847, allocations: 47.91 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.4848, allocations: 39.88 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.4849, allocations: 8 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.531e-05/0.4849, allocations: 27.92 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.75e-05/0.485, allocations: 15.92 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.931e-05/0.485, allocations: 35.86 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.4852, allocations: 111.7 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4852, allocations: 0 / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4852, allocations: 0 / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.4853, allocations: 3.984 kB / 1.366 GB, free: 11.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006608/0.4859, allocations: 339.8 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.486, allocations: 16.02 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.486, allocations: 4.938 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.4861, allocations: 122.4 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.4862, allocations: 4.375 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.4862, allocations: 12.38 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.4864, allocations: 62.16 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4864, allocations: 3.938 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.4864, allocations: 4 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.4864, allocations: 8 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.4866, allocations: 35.95 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.4871, allocations: 260.5 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.4873, allocations: 58.48 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.4874, allocations: 36.95 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.4874, allocations: 4 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.4877, allocations: 91.36 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.4877, allocations: 0 / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0004879/0.4882, allocations: 137.5 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.4882, allocations: 59.34 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.861e-05/0.4883, allocations: 117.8 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.4884, allocations: 33.7 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/0.4885, allocations: 92.14 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.4885, allocations: 31.84 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.4886, allocations: 37.7 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4887, allocations: 310.8 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.4889, allocations: 85.66 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.4891, allocations: 118 kB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.4894, allocations: 145.9 kB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4894, allocations: 7.875 kB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004682/0.4899, allocations: 237.2 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.049e-05/0.4899, allocations: 41.69 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4899, allocations: 7.984 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4899, allocations: 4.125 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.639e-05/0.49, allocations: 11.94 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.49, allocations: 3.984 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.4902, allocations: 35.97 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.4903, allocations: 7.984 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001149/0.4904, allocations: 124.6 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.4904, allocations: 7.953 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.4904, allocations: 12.38 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4904, allocations: 0 / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4904, allocations: 4 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4904, allocations: 0 / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.4909, allocations: 326 kB / 1.369 GB, free: 7.801 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4909, allocations: 0 / 1.369 GB, free: 7.801 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.473e-05/0.491, allocations: 7.984 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.491, allocations: 0 / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.491, allocations: 4 kB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.491, allocations: 4 kB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.491, allocations: 3.984 kB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.4913, allocations: 211.4 kB / 1.369 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.4913, allocations: 7.891 kB / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.4913, allocations: 0 / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.4914, allocations: 7.984 kB / 1.369 GB, free: 7.543 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.4915, allocations: 8.047 kB / 1.369 GB, free: 7.535 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.4915, allocations: 15.98 kB / 1.369 GB, free: 7.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.23e-05/0.4916, allocations: 91.28 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4916, allocations: 0 / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002776/0.4918, allocations: 23.98 kB / 1.37 GB, free: 7.406 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001755/0.492, allocations: 110.4 kB / 1.37 GB, free: 7.293 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000409/0.4924, allocations: 196.8 kB / 1.37 GB, free: 7.082 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4924, allocations: 0 / 1.37 GB, free: 7.082 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.4925, allocations: 44.16 kB / 1.37 GB, free: 7.039 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.4928, allocations: 15.98 kB / 1.37 GB, free: 7.023 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.4932, allocations: 154.8 kB / 1.37 GB, free: 6.844 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.031e-05/0.4933, allocations: 75.19 kB / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.242e-05/0.4933, allocations: 4 kB / 1.37 GB, free: 6.746 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.4934, allocations: 11.44 kB / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4934, allocations: 4 kB / 1.37 GB, free: 6.73 MB / 1.061 GB Notification: Performance of Templates: time 0.004925/0.4983, allocations: 1.602 MB / 1.372 GB, free: 5.164 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.800112169235945]