Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001608/0.001608, allocations: 110.2 kB / 19.69 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.001946/0.001946, allocations: 216.2 kB / 23.01 MB, free: 4.566 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.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.308/3.308, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_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_latest_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.002005/0.002005, allocations: 67.28 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3521, allocations: 180.2 MB / 1.354 GB, free: 7.969 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002072/0.3542, allocations: 0.748 MB / 1.355 GB, free: 7.223 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3559, allocations: 1.182 MB / 1.356 GB, free: 6.027 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.863e-05/0.3559, allocations: 0 / 1.356 GB, free: 6.027 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.356, allocations: 7.875 kB / 1.356 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.803e-05/0.3561, allocations: 19.8 kB / 1.356 GB, free: 6 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005581/0.3566, allocations: 138.9 kB / 1.356 GB, free: 5.867 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.3568, allocations: 119.8 kB / 1.356 GB, free: 5.75 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.766e-05/0.3569, allocations: 8 kB / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.357, allocations: 47.91 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.3571, allocations: 55.73 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.3572, allocations: 12 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.356e-05/0.3573, allocations: 20 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.3573, allocations: 11.98 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.3574, allocations: 51.77 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.3576, allocations: 103.7 kB / 1.357 GB, free: 5.445 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.3576, allocations: 4 kB / 1.357 GB, free: 5.441 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3576, allocations: 7.938 kB / 1.357 GB, free: 5.434 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3576, allocations: 0 / 1.357 GB, free: 5.434 MB / 1.045 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.0006951/0.3583, allocations: 335.8 kB / 1.357 GB, free: 5.066 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3583, allocations: 8.031 kB / 1.357 GB, free: 5.059 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.3584, allocations: 12.89 kB / 1.357 GB, free: 5.047 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.3585, allocations: 122.4 kB / 1.357 GB, free: 4.902 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.3585, allocations: 8.375 kB / 1.357 GB, free: 4.895 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.3585, allocations: 8.375 kB / 1.357 GB, free: 4.887 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.3588, allocations: 66.22 kB / 1.357 GB, free: 4.816 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3588, allocations: 192 / 1.357 GB, free: 4.816 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3588, allocations: 7.938 kB / 1.357 GB, free: 4.809 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3588, allocations: 0 / 1.357 GB, free: 4.809 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.359, allocations: 43.95 kB / 1.357 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.3595, allocations: 311.7 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.3597, allocations: 66.61 kB / 1.358 GB, free: 4.344 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.3598, allocations: 24.97 kB / 1.358 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.3598, allocations: 3.984 kB / 1.358 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.3601, allocations: 91.3 kB / 1.358 GB, free: 4.211 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.3601, allocations: 0 / 1.358 GB, free: 4.211 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0004633/0.3606, allocations: 141.9 kB / 1.358 GB, free: 4.066 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.3606, allocations: 55.39 kB / 1.358 GB, free: 4 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3607, allocations: 125.8 kB / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.3608, allocations: 25.7 kB / 1.358 GB, free: 3.836 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.3608, allocations: 96.08 kB / 1.358 GB, free: 3.738 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.3609, allocations: 23.84 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.403e-05/0.3609, allocations: 37.7 kB / 1.358 GB, free: 3.672 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3611, allocations: 330.8 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.3613, allocations: 55.89 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.3614, allocations: 92.12 kB / 1.359 GB, free: 3.18 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.3617, allocations: 142 kB / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3617, allocations: 0 / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004523/0.3622, allocations: 211.2 kB / 1.359 GB, free: 2.801 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.06e-05/0.3622, allocations: 37.7 kB / 1.359 GB, free: 2.758 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3623, allocations: 0 / 1.359 GB, free: 2.758 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3623, allocations: 4 kB / 1.359 GB, free: 2.754 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.217e-05/0.3624, allocations: 15.92 kB / 1.359 GB, free: 2.738 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3624, allocations: 0 / 1.359 GB, free: 2.738 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.3626, allocations: 36.08 kB / 1.359 GB, free: 2.703 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.3626, allocations: 12 kB / 1.359 GB, free: 2.691 MB / 1.045 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.0001233/0.3627, allocations: 130.4 kB / 1.359 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.3627, allocations: 7.953 kB / 1.359 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.3628, allocations: 12.31 kB / 1.359 GB, free: 2.535 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3628, allocations: 0 / 1.359 GB, free: 2.535 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3628, allocations: 0 / 1.359 GB, free: 2.535 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3628, allocations: 0 / 1.359 GB, free: 2.535 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.3633, allocations: 357.4 kB / 1.359 GB, free: 2.137 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3633, allocations: 0 / 1.359 GB, free: 2.137 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.55e-05/0.3633, allocations: 11.92 kB / 1.359 GB, free: 2.125 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3633, allocations: 4 kB / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.3633, allocations: 0 / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3633, allocations: 0 / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3633, allocations: 0 / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.3637, allocations: 219.4 kB / 1.36 GB, free: 1.891 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.3637, allocations: 4 kB / 1.36 GB, free: 1.887 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.3637, allocations: 0 / 1.36 GB, free: 1.887 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.3638, allocations: 12.05 kB / 1.36 GB, free: 1.875 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.3638, allocations: 15.92 kB / 1.36 GB, free: 1.859 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3638, allocations: 4 kB / 1.36 GB, free: 1.855 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.297e-05/0.3639, allocations: 99.2 kB / 1.36 GB, free: 1.758 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3639, allocations: 0 / 1.36 GB, free: 1.758 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002697/0.3642, allocations: 27.95 kB / 1.36 GB, free: 1.73 MB / 1.045 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.0001739/0.3644, allocations: 105.4 kB / 1.36 GB, free: 1.621 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004101/0.3648, allocations: 159.3 kB / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3648, allocations: 256 / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.3649, allocations: 39.97 kB / 1.36 GB, free: 1.414 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3652, allocations: 21.8 kB / 1.36 GB, free: 1.395 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.3656, allocations: 188.7 kB / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.366, allocations: 0.6923 MB / 1.361 GB, free: 468 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.366, allocations: 15.44 kB / 1.361 GB, free: 452 kB / 1.045 GB Notification: Performance of SimCode: time 6.11e-07/0.366, allocations: 0 / 1.361 GB, free: 452 kB / 1.045 GB Notification: Performance of Templates: time 0.003241/0.3692, allocations: 1.284 MB / 1.362 GB, free: 15.17 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.36715942301089]