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.001666/0.001666, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001795/0.001795, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.487/1.487, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.809/2.809, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002027/0.002027, allocations: 69.62 kB / 1.109 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3878, allocations: 168.7 MB / 1.274 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002219/0.39, allocations: 0.7481 MB / 1.275 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.3917, allocations: 1.152 MB / 1.276 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/0.3918, allocations: 4 kB / 1.276 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.3918, allocations: 3.938 kB / 1.276 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.769e-05/0.3919, allocations: 19.86 kB / 1.276 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.3924, allocations: 127.9 kB / 1.276 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.3926, allocations: 127.7 kB / 1.276 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.3927, allocations: 15.94 kB / 1.276 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.845e-05/0.3928, allocations: 47.84 kB / 1.276 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.3929, allocations: 51.75 kB / 1.276 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.393, allocations: 16 kB / 1.276 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.679e-05/0.393, allocations: 27.97 kB / 1.276 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.3931, allocations: 8 kB / 1.276 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.888e-05/0.3931, allocations: 43.84 kB / 1.276 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.3933, allocations: 111.6 kB / 1.277 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3933, allocations: 0 / 1.277 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3933, allocations: 0 / 1.277 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.3933, allocations: 4 kB / 1.277 GB, free: 8.719 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.0007076/0.3941, allocations: 416.9 kB / 1.277 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3941, allocations: 8.031 kB / 1.277 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.913e-05/0.3942, allocations: 16.83 kB / 1.277 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.3943, allocations: 176.2 kB / 1.277 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3943, allocations: 4.375 kB / 1.277 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.3944, allocations: 12.38 kB / 1.277 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.3946, allocations: 66.22 kB / 1.277 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3946, allocations: 192 / 1.277 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3946, allocations: 3.938 kB / 1.277 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3946, allocations: 0 / 1.277 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.3948, allocations: 47.95 kB / 1.277 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.3954, allocations: 336.6 kB / 1.278 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3956, allocations: 54.61 kB / 1.278 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.3957, allocations: 28.97 kB / 1.278 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.3957, allocations: 8 kB / 1.278 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.396, allocations: 91.36 kB / 1.278 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.396, allocations: 0 / 1.278 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.000475/0.3965, allocations: 145.5 kB / 1.278 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.3965, allocations: 55.41 kB / 1.278 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3966, allocations: 113.8 kB / 1.278 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.3967, allocations: 33.7 kB / 1.278 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.3967, allocations: 96.08 kB / 1.278 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.3968, allocations: 23.83 kB / 1.278 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-05/0.3969, allocations: 37.7 kB / 1.278 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.397, allocations: 322.8 kB / 1.279 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.3972, allocations: 55.95 kB / 1.279 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.3974, allocations: 88.62 kB / 1.279 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.3977, allocations: 145.8 kB / 1.279 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3977, allocations: 0 / 1.279 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005006/0.3982, allocations: 207.2 kB / 1.279 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.898e-05/0.3982, allocations: 33.77 kB / 1.279 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3982, allocations: 8 kB / 1.279 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3983, allocations: 0 / 1.279 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.776e-05/0.3984, allocations: 15.92 kB / 1.279 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3984, allocations: 4 kB / 1.279 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.3986, allocations: 39.91 kB / 1.279 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.3986, allocations: 4 kB / 1.279 GB, free: 5.793 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.0001211/0.3987, allocations: 129.8 kB / 1.279 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.3987, allocations: 7.953 kB / 1.279 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.3988, allocations: 12.31 kB / 1.279 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3988, allocations: 4 kB / 1.279 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3988, allocations: 64 / 1.279 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3988, allocations: 4 kB / 1.279 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005358/0.3993, allocations: 378.7 kB / 1.28 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3993, allocations: 4 kB / 1.28 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.3994, allocations: 15.92 kB / 1.28 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3994, allocations: 0 / 1.28 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3994, allocations: 0 / 1.28 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3994, allocations: 80 / 1.28 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3994, allocations: 3.984 kB / 1.28 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.3997, allocations: 215.4 kB / 1.28 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.3998, allocations: 81.06 kB / 1.28 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.3998, allocations: 4 kB / 1.28 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.3999, allocations: 7.984 kB / 1.28 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.4, allocations: 7.922 kB / 1.28 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.4, allocations: 8 kB / 1.28 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.06e-05/0.4, allocations: 95.31 kB / 1.28 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4, allocations: 0 / 1.28 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002634/0.4003, allocations: 20 kB / 1.28 GB, free: 4.711 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.0001975/0.4005, allocations: 123.6 kB / 1.28 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.4009, allocations: 159.3 kB / 1.28 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.4009, allocations: 4 kB / 1.28 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.4011, allocations: 31.97 kB / 1.28 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.4014, allocations: 22.11 kB / 1.28 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.4018, allocations: 174.3 kB / 1.281 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.4022, allocations: 0.6923 MB / 1.281 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.389e-05/0.4022, allocations: 4 kB / 1.281 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.4023, allocations: 15.38 kB / 1.281 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.4023, allocations: 3.938 kB / 1.281 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of Templates: time 0.004925/0.4072, allocations: 1.471 MB / 1.283 GB, free: 1.969 MB / 0.9825 GB " [Timeout remaining time 300] 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 -s cvode -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_2/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: 8.842109972145408]