Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001143/0.001143, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001619/0.002763, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001069/0.001069, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002406, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9829/0.9829, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09205/1.075, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.855/1.855, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5554/2.41, allocations: 123.3 MB / 0.728 GB, free: 5.805 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0.5469 kB / 0.7293 GB, free: 4.512 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.799e-06/1.138e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001216/0.001227, allocations: 0.7976 MB / 0.7301 GB, free: 3.734 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.00232, allocations: 1.188 MB / 0.7313 GB, free: 2.535 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.002351, allocations: 1.406 kB / 0.7313 GB, free: 2.535 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.00237, allocations: 7.922 kB / 0.7313 GB, free: 2.527 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.03e-05/0.00241, allocations: 17.28 kB / 0.7313 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.002648, allocations: 129.2 kB / 0.7314 GB, free: 2.391 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.002803, allocations: 119.9 kB / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.622e-05/0.002859, allocations: 8.875 kB / 0.7315 GB, free: 2.277 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.729e-05/0.002956, allocations: 80.17 kB / 0.7316 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.361e-05/0.00302, allocations: 36.66 kB / 0.7317 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.003039, allocations: 12.69 kB / 0.7317 GB, free: 2.156 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.226e-05/0.003091, allocations: 20.48 kB / 0.7317 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.003108, allocations: 11.94 kB / 0.7317 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.003141, allocations: 20.88 kB / 0.7317 GB, free: 2.105 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.003269, allocations: 87.72 kB / 0.7318 GB, free: 2.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.319e-05/0.003282, allocations: 1.438 kB / 0.7318 GB, free: 2.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003283, allocations: 0 / 0.7318 GB, free: 2.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.003299, allocations: 0 / 0.7318 GB, free: 2.02 MB / 0.698 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.0004193/0.003718, allocations: 322.1 kB / 0.7321 GB, free: 1.672 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.645e-05/0.003745, allocations: 8.688 kB / 0.7321 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.003778, allocations: 13.61 kB / 0.7321 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.634e-05/0.003854, allocations: 113.7 kB / 0.7322 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.003866, allocations: 6.156 kB / 0.7322 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.003881, allocations: 12.31 kB / 0.7323 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.815e-05/0.003969, allocations: 66.92 kB / 0.7323 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.003977, allocations: 192 / 0.7323 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.003988, allocations: 12.3 kB / 0.7323 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.003994, allocations: 1.312 kB / 0.7323 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.252e-05/0.004027, allocations: 15.92 kB / 0.7323 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.004272, allocations: 181.4 kB / 0.7325 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.012e-05/0.004342, allocations: 30.56 kB / 0.7326 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.004357, allocations: 9.484 kB / 0.7326 GB, free: 1.156 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.004365, allocations: 8.875 kB / 0.7326 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.913e-05/0.004454, allocations: 63.44 kB / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.004456, allocations: 4.875 kB / 0.7326 GB, free: 1.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0001117/0.004568, allocations: 69.55 kB / 0.7327 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.004599, allocations: 59.97 kB / 0.7328 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.004657, allocations: 128.4 kB / 0.7329 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.004675, allocations: 29.7 kB / 0.7329 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.004707, allocations: 88.14 kB / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.004724, allocations: 23.77 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.004769, allocations: 37.69 kB / 0.7331 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.225e-05/0.004841, allocations: 320 kB / 0.7334 GB, free: 284 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-05/0.00489, allocations: 57.69 kB / 0.7334 GB, free: 220 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-05/0.004943, allocations: 81.97 kB / 0.7335 GB, free: 116 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.583e-05/0.005028, allocations: 111.7 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.00503, allocations: 0 / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001359/0.005166, allocations: 170.4 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.005199, allocations: 40.2 kB / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.005204, allocations: 4.625 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.005214, allocations: 4 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/0.005269, allocations: 17.7 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.005272, allocations: 0 / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.572e-05/0.005347, allocations: 23.98 kB / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.005361, allocations: 13.14 kB / 0.7339 GB, free: 15.7 MB / 0.7136 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 7.834e-05/0.005439, allocations: 123.9 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.005449, allocations: 10 kB / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.005476, allocations: 20.36 kB / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.005478, allocations: 0 / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.005479, allocations: 0 / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.005482, allocations: 0 / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.005643, allocations: 211.6 kB / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005644, allocations: 0 / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.005672, allocations: 16.81 kB / 0.7342 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.005681, allocations: 7.891 kB / 0.7342 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.005682, allocations: 0 / 0.7342 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.005688, allocations: 8.641 kB / 0.7342 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.005689, allocations: 1.875 kB / 0.7342 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.005691, allocations: 400 / 0.7342 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.221e-05/0.005773, allocations: 151.5 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.005787, allocations: 3.938 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.718e-05/0.005824, allocations: 8 kB / 0.7344 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.005852, allocations: 9.172 kB / 0.7344 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.005855, allocations: 0 / 0.7344 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.983e-05/0.005875, allocations: 25.38 kB / 0.7344 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005875, allocations: 0 / 0.7344 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001381/0.006013, allocations: 28.47 kB / 0.7345 GB, free: 15.04 MB / 0.7136 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.0001067/0.00612, allocations: 92.88 kB / 0.7345 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.006269, allocations: 151.1 kB / 0.7347 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.006273, allocations: 4 kB / 0.7347 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.658e-05/0.0063, allocations: 25.86 kB / 0.7347 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.006427, allocations: 30.19 kB / 0.7347 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.006803, allocations: 160.7 kB / 0.7349 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.995e-05/0.006833, allocations: 67.28 kB / 0.735 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.996e-05/0.006853, allocations: 6.75 kB / 0.735 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.839e-05/0.006922, allocations: 67.36 kB / 0.735 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/0.006922, allocations: 7.938 kB / 0.735 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of Templates: time 0.002953/0.009875, allocations: 1.729 MB / 0.7367 GB, free: 12.73 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.122140966355801]