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.001617/0.001617, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002356/0.002356, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.332/3.332, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002045/0.002045, allocations: 60.97 kB / 1.155 GB, free: 25.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4112, allocations: 176.1 MB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002167/0.4134, allocations: 0.7356 MB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.4151, allocations: 1.155 MB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.4151, allocations: 7.938 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.4152, allocations: 11.88 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.486e-05/0.4153, allocations: 7.922 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.4158, allocations: 133 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.416, allocations: 123.7 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.4161, allocations: 12 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.4162, allocations: 47.91 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.4163, allocations: 47.81 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.4164, allocations: 11.94 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-05/0.4164, allocations: 31.98 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.4165, allocations: 7.984 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.853e-05/0.4165, allocations: 39.84 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.4168, allocations: 119.6 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4168, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4168, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.4168, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 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.0007451/0.4175, allocations: 335.8 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.4176, allocations: 11.97 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.82e-05/0.4176, allocations: 12.89 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.4178, allocations: 122.4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.4178, allocations: 8.359 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.4178, allocations: 8.375 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.418, allocations: 66.22 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.418, allocations: 192 / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.4181, allocations: 7.938 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4181, allocations: 3.984 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.4183, allocations: 39.95 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.4188, allocations: 268.4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.419, allocations: 62.48 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.4191, allocations: 32.95 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.4191, allocations: 3.938 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/0.4194, allocations: 87.36 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.4194, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004779/0.4198, allocations: 141.6 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.4199, allocations: 51.48 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.42, allocations: 129.7 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.4201, allocations: 29.7 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.4201, allocations: 92.12 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.4202, allocations: 27.78 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.199e-05/0.4203, allocations: 37.7 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4204, allocations: 326.8 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.4206, allocations: 81.67 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.4209, allocations: 117.9 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.4211, allocations: 133.9 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.4211, allocations: 3.938 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000499/0.4216, allocations: 248.8 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.44e-05/0.4217, allocations: 33.69 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4217, allocations: 4 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4217, allocations: 0 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.4218, allocations: 15.98 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.4218, allocations: 7.938 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.4221, allocations: 32.09 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.4221, allocations: 7.984 kB / 1.332 GB, free: 11.57 MB / 1.029 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.0001294/0.4222, allocations: 132 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.4222, allocations: 7.953 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.4223, allocations: 4.375 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4223, allocations: 7.938 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4223, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4223, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.4228, allocations: 330.3 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4228, allocations: 0 / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.4228, allocations: 8 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4228, allocations: 0 / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.4228, allocations: 4.047 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4228, allocations: 4.078 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4228, allocations: 3.984 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.4232, allocations: 219.4 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.4232, allocations: 7.953 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.4232, allocations: 0 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-05/0.4233, allocations: 11.98 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.4233, allocations: 11.92 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.4234, allocations: 0 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.937e-05/0.4234, allocations: 91.27 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4234, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002673/0.4237, allocations: 28 kB / 1.333 GB, free: 10.65 MB / 1.029 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.0001673/0.4239, allocations: 103.8 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004354/0.4243, allocations: 197 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4243, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.4244, allocations: 27.98 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.4247, allocations: 15.98 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.4251, allocations: 174.7 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.775e-05/0.4252, allocations: 71.33 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.493e-05/0.4252, allocations: 4 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.4253, allocations: 11.44 kB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of SimCode: time 4.1e-07/0.4253, allocations: 0 / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of Templates: time 0.005035/0.4303, allocations: 1.649 MB / 1.335 GB, free: 8.371 MB / 1.029 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.58129334700061]