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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003112/0.003112, allocations: 192.6 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 251 MB, free: 13.01 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.787/2.787, allocations: 476.7 MB / 0.7646 GB, free: 9.867 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 59.91 kB / 1.11 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.057, allocations: 168.8 MB / 1.274 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002107/1.059, allocations: 0.7459 MB / 1.275 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0019/1.061, allocations: 1.156 MB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/1.061, allocations: 3.938 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.155e-05/1.061, allocations: 7.938 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.617e-05/1.061, allocations: 19.86 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006713/1.062, allocations: 135.9 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/1.062, allocations: 111.8 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/1.062, allocations: 11.95 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/1.063, allocations: 55.89 kB / 1.277 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/1.063, allocations: 43.81 kB / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/1.063, allocations: 12 kB / 1.277 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.515e-05/1.063, allocations: 27.94 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/1.063, allocations: 19.86 kB / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.958e-05/1.063, allocations: 47.83 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/1.063, allocations: 111.4 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.063, allocations: 3.938 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/1.063, allocations: 0 / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.721e-06/1.063, allocations: 0 / 1.277 GB, free: 1.656 MB / 0.9669 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.0006693/1.064, allocations: 342.5 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.064, allocations: 12.03 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/1.064, allocations: 12.89 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/1.064, allocations: 110.5 kB / 1.277 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/1.064, allocations: 4.375 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/1.064, allocations: 12.38 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/1.064, allocations: 70.14 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/1.064, allocations: 192 / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/1.064, allocations: 11.94 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/1.064, allocations: 0 / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/1.065, allocations: 43.95 kB / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/1.065, allocations: 315.7 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/1.065, allocations: 58.55 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/1.065, allocations: 24.97 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/1.065, allocations: 4 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/1.066, allocations: 87.34 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/1.066, allocations: 0 / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004529/1.066, allocations: 153.6 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/1.066, allocations: 55.41 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/1.066, allocations: 117.8 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/1.066, allocations: 29.7 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/1.066, allocations: 100.1 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/1.066, allocations: 7.906 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.531e-05/1.066, allocations: 37.7 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002584/1.067, allocations: 330.7 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/1.067, allocations: 59.95 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/1.067, allocations: 84.25 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/1.067, allocations: 137.9 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.067, allocations: 0 / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004574/1.068, allocations: 211.1 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.627e-05/1.068, allocations: 37.7 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/1.068, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/1.068, allocations: 8.125 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.611e-05/1.068, allocations: 15.92 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/1.068, allocations: 0 / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/1.068, allocations: 47.78 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/1.068, allocations: 8 kB / 1.279 GB, free: 14.92 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.0001166/1.068, allocations: 130.1 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/1.068, allocations: 11.95 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/1.068, allocations: 8.375 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/1.068, allocations: 0 / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.068, allocations: 0 / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/1.068, allocations: 0 / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005126/1.069, allocations: 349.5 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.069, allocations: 0 / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.583e-05/1.069, allocations: 11.98 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/1.069, allocations: 8 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/1.069, allocations: 0 / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/1.069, allocations: 0 / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/1.069, allocations: 4.062 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/1.069, allocations: 207.3 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/1.069, allocations: 7.953 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/1.069, allocations: 8 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-05/1.069, allocations: 7.984 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/1.07, allocations: 11.92 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/1.07, allocations: 4 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.982e-05/1.07, allocations: 99.75 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.07, allocations: 0 / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000262/1.07, allocations: 20 kB / 1.28 GB, free: 13.97 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.0001586/1.07, allocations: 115.2 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003931/1.07, allocations: 155.3 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.07, allocations: 0 / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/1.071, allocations: 40.36 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/1.071, allocations: 16.47 kB / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/1.071, allocations: 166.8 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/1.072, allocations: 0.6923 MB / 1.281 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.306e-05/1.072, allocations: 4 kB / 1.281 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/1.072, allocations: 11.44 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/1.072, allocations: 0 / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of Templates: time 0.004858/1.076, allocations: 1.491 MB / 1.283 GB, free: 11.23 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/jenkins/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: 9.337115273810923]