Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001463/0.001463, 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.0016/0.0016, allocations: 213.9 kB / 22.24 MB, free: 4.855 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.696/1.696, allocations: 230.6 MB / 256 MB, free: 7.809 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.924/2.924, allocations: 476 MB / 0.7699 GB, free: 4.785 MB / 0.6231 GB " [Timeout remaining time 176] 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.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_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_11_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.002155/0.002155, allocations: 63.02 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4273, allocations: 170 MB / 1.283 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002209/0.4295, allocations: 0.7263 MB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.4313, allocations: 1.172 MB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.279e-05/0.4314, allocations: 0 / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.4314, allocations: 3.938 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.595e-05/0.4315, allocations: 11.92 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.4321, allocations: 135.1 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.4323, allocations: 119.8 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.4324, allocations: 15.97 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.4325, allocations: 47.86 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.4326, allocations: 43.88 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.4327, allocations: 12 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.546e-05/0.4327, allocations: 23.97 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.4328, allocations: 7.938 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.346e-05/0.4328, allocations: 43.91 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.433, allocations: 107.6 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.433, allocations: 0 / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.433, allocations: 0 / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.433, allocations: 0 / 1.285 GB, free: 9.418 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006408/0.4337, allocations: 335.7 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4337, allocations: 16.03 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.709e-05/0.4338, allocations: 16.83 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.4339, allocations: 122.4 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.4339, allocations: 4.375 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.434, allocations: 8.375 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.4341, allocations: 58.23 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4342, allocations: 4.172 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4342, allocations: 3.938 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.4342, allocations: 4 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.4344, allocations: 39.97 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.4348, allocations: 256.4 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.435, allocations: 54.55 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.4351, allocations: 36.97 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.4351, allocations: 3.938 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.4354, allocations: 103.3 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.4354, allocations: 0 / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004576/0.4359, allocations: 145.6 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.4359, allocations: 51.41 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.436, allocations: 121.8 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.436, allocations: 25.7 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.4361, allocations: 96.12 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.4361, allocations: 23.83 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/0.4362, allocations: 37.7 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4364, allocations: 326.8 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.4365, allocations: 81.66 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.4367, allocations: 115.6 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.437, allocations: 141.9 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.437, allocations: 0 / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000482/0.4375, allocations: 248.8 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.4376, allocations: 33.7 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4376, allocations: 4 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4376, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.4377, allocations: 16.11 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.4377, allocations: 4 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.4379, allocations: 35.91 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.4379, allocations: 8 kB / 1.288 GB, free: 6.641 MB / 0.9825 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.0001202/0.4381, allocations: 127.6 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.4381, allocations: 7.984 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.4381, allocations: 8.375 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.4381, allocations: 4 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4381, allocations: 4 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4381, allocations: 7.875 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.4386, allocations: 314.1 kB / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4386, allocations: 3.938 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.4386, allocations: 11.98 kB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.4386, allocations: 4 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.4387, allocations: 0 / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4387, allocations: 0 / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4387, allocations: 4 kB / 1.288 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.439, allocations: 207.4 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.439, allocations: 11.88 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.439, allocations: 8 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.4391, allocations: 7.984 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.4391, allocations: 3.984 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.4392, allocations: 8.062 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.853e-05/0.4392, allocations: 91.27 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4392, allocations: 3.938 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002557/0.4395, allocations: 28 kB / 1.289 GB, free: 5.727 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: 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.0001576/0.4396, allocations: 107.2 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004103/0.44, allocations: 193.4 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.44, allocations: 0 / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.4402, allocations: 40.22 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.4404, allocations: 14.17 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.4408, allocations: 177.1 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.674e-05/0.4409, allocations: 71.34 kB / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.647e-05/0.4409, allocations: 7.984 kB / 1.289 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.441, allocations: 15.44 kB / 1.289 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.441, allocations: 0 / 1.289 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of Templates: time 0.004837/0.4458, allocations: 1.588 MB / 1.291 GB, free: 3.488 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.786039151251316]