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.001851/0.001851, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002057/0.002057, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.494/1.494, allocations: 177.1 MB / 202.8 MB, free: 9.199 MB / 190.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.188/3.188, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.806e-06/2.806e-06, allocations: 0 / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.52e-05, allocations: 6.281 kB / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001802/0.001837, allocations: 0.7345 MB / 1.001 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.003449, allocations: 1.178 MB / 1.002 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.003499, allocations: 4 kB / 1.002 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.003529, allocations: 3.938 kB / 1.002 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.846e-05/0.003598, allocations: 7.875 kB / 1.002 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.004119, allocations: 137.7 kB / 1.002 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.004314, allocations: 119.7 kB / 1.002 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.368e-05/0.004408, allocations: 15.98 kB / 1.002 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.00454, allocations: 63.94 kB / 1.002 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.922e-05/0.004629, allocations: 31.89 kB / 1.002 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.004659, allocations: 12 kB / 1.002 GB, free: 5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.079e-05/0.004729, allocations: 23.97 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.004755, allocations: 11.94 kB / 1.002 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.388e-05/0.004819, allocations: 31.97 kB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.005053, allocations: 139.6 kB / 1.003 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005056, allocations: 0 / 1.003 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.11e-07/0.005057, allocations: 0 / 1.003 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.00506, allocations: 0 / 1.003 GB, free: 4.797 MB / 0.9512 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.000616/0.005676, allocations: 335.8 kB / 1.003 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.00571, allocations: 12.03 kB / 1.003 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.005765, allocations: 8.891 kB / 1.003 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.005912, allocations: 109.7 kB / 1.003 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.005929, allocations: 8.359 kB / 1.003 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.005964, allocations: 12.38 kB / 1.003 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.006174, allocations: 66.22 kB / 1.003 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.006185, allocations: 192 / 1.003 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.006199, allocations: 4.359 kB / 1.003 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.006204, allocations: 4.375 kB / 1.003 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.006409, allocations: 47.77 kB / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.006888, allocations: 260.5 kB / 1.003 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.007079, allocations: 62.42 kB / 1.003 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.007193, allocations: 29.03 kB / 1.003 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.007204, allocations: 4 kB / 1.004 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.007449, allocations: 91.3 kB / 1.004 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.007451, allocations: 0 / 1.004 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0004913/0.007942, allocations: 145.6 kB / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.007991, allocations: 59.34 kB / 1.004 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.008097, allocations: 121.8 kB / 1.004 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.008131, allocations: 29.7 kB / 1.004 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.008206, allocations: 96.08 kB / 1.004 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.00823, allocations: 19.84 kB / 1.004 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.98e-05/0.00831, allocations: 37.7 kB / 1.004 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.008455, allocations: 322.8 kB / 1.004 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.008648, allocations: 81.66 kB / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.008882, allocations: 115.2 kB / 1.005 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.00918, allocations: 141.9 kB / 1.005 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.009182, allocations: 0 / 1.005 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005448/0.009727, allocations: 253.2 kB / 1.005 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.009774, allocations: 41.62 kB / 1.005 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.009783, allocations: 4.062 kB / 1.005 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.009806, allocations: 4 kB / 1.005 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.672e-05/0.009903, allocations: 11.98 kB / 1.005 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.009911, allocations: 4 kB / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.01014, allocations: 39.91 kB / 1.005 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.01016, allocations: 4 kB / 1.005 GB, free: 2.016 MB / 0.9512 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.0001137/0.01028, allocations: 128.5 kB / 1.005 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.01029, allocations: 7.938 kB / 1.005 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.01033, allocations: 12.42 kB / 1.005 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.01033, allocations: 7.938 kB / 1.005 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01034, allocations: 0 / 1.005 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01034, allocations: 0 / 1.005 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004802/0.01082, allocations: 322 kB / 1.006 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01082, allocations: 0 / 1.006 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.7e-05/0.01088, allocations: 11.98 kB / 1.006 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01088, allocations: 4 kB / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.01089, allocations: 0 / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01089, allocations: 0 / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.0109, allocations: 0 / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.01132, allocations: 215.4 kB / 1.006 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.01133, allocations: 3.938 kB / 1.006 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.01135, allocations: 11.94 kB / 1.006 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.15e-05/0.01144, allocations: 11.98 kB / 1.006 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.01149, allocations: 3.984 kB / 1.006 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.0115, allocations: 4 kB / 1.006 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.083e-05/0.01156, allocations: 95.27 kB / 1.006 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.01156, allocations: 0 / 1.006 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002771/0.01184, allocations: 23.95 kB / 1.006 GB, free: 1.109 MB / 0.9512 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.0001719/0.01201, allocations: 103.2 kB / 1.006 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004332/0.01244, allocations: 193 kB / 1.006 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01244, allocations: 0 / 1.006 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.0126, allocations: 47.89 kB / 1.006 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.01289, allocations: 7.938 kB / 1.006 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.01327, allocations: 153.6 kB / 1.006 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.08e-05/0.01335, allocations: 83.44 kB / 1.006 GB, free: 464 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.983e-05/0.01338, allocations: 4 kB / 1.006 GB, free: 460 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.01342, allocations: 16.48 kB / 1.006 GB, free: 444 kB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.01342, allocations: 0 / 1.006 GB, free: 444 kB / 0.9512 GB Notification: Performance of Templates: time 0.004605/0.01802, allocations: 1.564 MB / 1.008 GB, free: 14.9 MB / 0.9669 GB " [Timeout remaining time 300] 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: 8.701410874724388]