Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.001735/0.001735, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00234/0.00234, allocations: 215.8 kB / 23.01 MB, free: 4.609 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.825/2.825, allocations: 476.8 MB / 0.7714 GB, free: 4.355 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.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [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.002042/0.002042, allocations: 65.34 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3234, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002062/0.3254, allocations: 0.7497 MB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.3271, allocations: 1.192 MB / 1.287 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/0.3271, allocations: 4 kB / 1.287 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.3272, allocations: 7.875 kB / 1.287 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.261e-05/0.3273, allocations: 7.875 kB / 1.287 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005016/0.3278, allocations: 145.5 kB / 1.287 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.3281, allocations: 115.8 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.3281, allocations: 15.94 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.3282, allocations: 51.89 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.3284, allocations: 43.88 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.3284, allocations: 8 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.359e-05/0.3285, allocations: 27.98 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.3285, allocations: 15.86 kB / 1.287 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.3286, allocations: 43.84 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.3288, allocations: 115.6 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3288, allocations: 3.984 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3288, allocations: 4 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.3288, allocations: 0 / 1.287 GB, free: 8.746 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006112/0.3294, allocations: 331.8 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3294, allocations: 12.03 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.3295, allocations: 8.891 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.3296, allocations: 118.4 kB / 1.288 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3296, allocations: 8.359 kB / 1.288 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.3296, allocations: 8.375 kB / 1.288 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.3298, allocations: 74.16 kB / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3298, allocations: 192 / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3298, allocations: 3.938 kB / 1.288 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3298, allocations: 0 / 1.288 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.33, allocations: 43.95 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.3306, allocations: 307.8 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.3308, allocations: 66.53 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3309, allocations: 28.95 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.3309, allocations: 0 / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.3311, allocations: 91.36 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.3311, allocations: 3.938 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004425/0.3315, allocations: 145.6 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.3316, allocations: 59.41 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3317, allocations: 117.8 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.3317, allocations: 33.69 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.3318, allocations: 92.14 kB / 1.289 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.3318, allocations: 23.8 kB / 1.289 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.3319, allocations: 37.69 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.332, allocations: 322.8 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.3322, allocations: 55.89 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.3324, allocations: 88.25 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.3327, allocations: 137.9 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3327, allocations: 4 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004516/0.3331, allocations: 211.1 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/0.3332, allocations: 41.69 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3332, allocations: 4 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3332, allocations: 0 / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.3333, allocations: 11.94 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3333, allocations: 7.984 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.3335, allocations: 36.16 kB / 1.29 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.3335, allocations: 11.98 kB / 1.29 GB, free: 6.008 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.0001125/0.3336, allocations: 123.3 kB / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.824e-05/0.3337, allocations: 7.953 kB / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.3338, allocations: 8.375 kB / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3338, allocations: 0 / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3338, allocations: 4 kB / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3338, allocations: 4 kB / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.3343, allocations: 349.4 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3343, allocations: 3.938 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.3344, allocations: 11.98 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3344, allocations: 0 / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.3344, allocations: 4 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3344, allocations: 0 / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3344, allocations: 0 / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.3347, allocations: 215.3 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.3347, allocations: 3.953 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.3348, allocations: 7.984 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.3349, allocations: 8 kB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.3349, allocations: 7.922 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.3349, allocations: 8 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.745e-05/0.335, allocations: 91.27 kB / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.335, allocations: 0 / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002696/0.3352, allocations: 24 kB / 1.29 GB, free: 5.066 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0001489/0.3354, allocations: 107.2 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004053/0.3358, allocations: 163.4 kB / 1.291 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.3358, allocations: 4.062 kB / 1.291 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.3359, allocations: 39.92 kB / 1.291 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.3362, allocations: 18.73 kB / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.3366, allocations: 196.8 kB / 1.291 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.337, allocations: 0.6962 MB / 1.292 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.337, allocations: 11.44 kB / 1.292 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.337, allocations: 0 / 1.292 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of Templates: time 0.003246/0.3403, allocations: 1.272 MB / 1.293 GB, free: 2.5 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.27279446600005]