Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001542/0.001542, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001831/0.001831, allocations: 216.2 kB / 23.01 MB, free: 5.109 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.518/1.518, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.147/3.147, allocations: 0.49 GB / 0.7958 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_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_12_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.002173/0.002173, allocations: 67.2 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3958, allocations: 176.1 MB / 1.327 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002152/0.398, allocations: 0.7461 MB / 1.328 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.3997, allocations: 1.194 MB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.521e-05/0.3998, allocations: 0 / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.3998, allocations: 11.88 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.191e-05/0.3999, allocations: 11.88 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.4005, allocations: 135.2 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.4007, allocations: 115.8 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.663e-05/0.4008, allocations: 12 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.4009, allocations: 47.91 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.401, allocations: 51.8 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.401, allocations: 8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.368e-05/0.4011, allocations: 27.94 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.4011, allocations: 15.92 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.396e-05/0.4012, allocations: 47.83 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.4014, allocations: 103.7 kB / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4014, allocations: 4 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4014, allocations: 0 / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.4014, allocations: 0 / 1.33 GB, free: 14.89 MB / 1.029 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.0006458/0.4021, allocations: 337.3 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.4021, allocations: 8.031 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.4022, allocations: 16.89 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.4023, allocations: 122.3 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.4023, allocations: 12.36 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.4023, allocations: 4.375 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.4025, allocations: 66.17 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4025, allocations: 192 / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.4025, allocations: 7.922 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4026, allocations: 0 / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.4027, allocations: 39.97 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.4033, allocations: 299.9 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.4035, allocations: 62.48 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.4036, allocations: 36.95 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.4036, allocations: 0 / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/0.4039, allocations: 87.31 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.4039, allocations: 0 / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004756/0.4044, allocations: 141.6 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.4044, allocations: 59.39 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.4045, allocations: 121.8 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.4046, allocations: 25.7 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.4046, allocations: 92.12 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.4047, allocations: 19.84 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-05/0.4048, allocations: 41.69 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4049, allocations: 314.8 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.4051, allocations: 59.89 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.4053, allocations: 88.25 kB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.4056, allocations: 146.1 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4056, allocations: 3.938 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004785/0.4061, allocations: 215.1 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.4061, allocations: 39.73 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4061, allocations: 128 / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4061, allocations: 8 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.4062, allocations: 15.92 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4062, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.4064, allocations: 35.91 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.4065, allocations: 12 kB / 1.332 GB, free: 12.17 MB / 1.029 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.0001187/0.4066, allocations: 126.3 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.4066, allocations: 7.953 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.4066, allocations: 16.36 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4066, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4067, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4067, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.4072, allocations: 345.5 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4072, allocations: 4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.4072, allocations: 16.05 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4073, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.4073, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4073, allocations: 4 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4073, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.4076, allocations: 215.3 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.4076, allocations: 11.89 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.4076, allocations: 4 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.955e-05/0.4077, allocations: 11.98 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.4078, allocations: 7.984 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.4078, allocations: 3.938 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.305e-05/0.4078, allocations: 91.27 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4078, allocations: 0 / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002727/0.4081, allocations: 24 kB / 1.333 GB, free: 11.22 MB / 1.029 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.000164/0.4083, allocations: 107.2 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004031/0.4087, allocations: 159.2 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4087, allocations: 0 / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.4088, allocations: 43.91 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.4091, allocations: 16.17 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.4095, allocations: 188.5 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.4099, allocations: 0.6885 MB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.4099, allocations: 11.44 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.4099, allocations: 4 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of Templates: time 0.003416/0.4133, allocations: 1.273 MB / 1.335 GB, free: 8.668 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.023644681001315]