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.001398/0.001398, allocations: 102.3 kB / 19.7 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.001532/0.001532, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.44/1.44, 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 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.115/3.115, allocations: 0.49 GB / 0.7958 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 177] 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.002825/0.002825, allocations: 73.64 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3418, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001866/0.3436, allocations: 0.7449 MB / 1.328 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.3451, allocations: 1.19 MB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.3452, allocations: 4 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.3452, allocations: 3.938 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.802e-05/0.3453, allocations: 15.86 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004926/0.3458, allocations: 139.8 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.346, allocations: 111.8 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.028e-05/0.3461, allocations: 12 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.499e-05/0.3462, allocations: 51.89 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3463, allocations: 51.81 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.3463, allocations: 12 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.318e-05/0.3464, allocations: 20 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.854e-05/0.3464, allocations: 23.84 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7e-05/0.3464, allocations: 43.84 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.3466, allocations: 111.6 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3466, allocations: 0 / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3466, allocations: 0 / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.3466, allocations: 0 / 1.33 GB, free: 14.93 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.0005913/0.3472, allocations: 343.8 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.3473, allocations: 8.031 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.3473, allocations: 8.891 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.3474, allocations: 122.4 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.3474, allocations: 8.312 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.3475, allocations: 12.38 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.3477, allocations: 70.16 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3477, allocations: 192 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3477, allocations: 3.938 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.3477, allocations: 4 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.3479, allocations: 43.95 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.3484, allocations: 307.8 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.3486, allocations: 54.55 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.95e-05/0.3487, allocations: 28.97 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.3487, allocations: 4 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.3489, allocations: 91.42 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3489, allocations: 0 / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004592/0.3494, allocations: 149.5 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.3494, allocations: 55.41 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.3495, allocations: 117.8 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.3496, allocations: 29.7 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.3496, allocations: 96.12 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.3496, allocations: 19.8 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-05/0.3497, allocations: 37.7 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3499, allocations: 330.8 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.35, allocations: 55.95 kB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.3502, allocations: 88.25 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.3505, allocations: 145.9 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3505, allocations: 0 / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004499/0.351, allocations: 211.1 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.351, allocations: 37.83 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.351, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.351, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.3511, allocations: 15.92 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3511, allocations: 4 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.3513, allocations: 35.95 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.3513, allocations: 4 kB / 1.332 GB, free: 12.19 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.0001151/0.3514, allocations: 134.3 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.3515, allocations: 7.953 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.3515, allocations: 8.375 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3515, allocations: 4 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3515, allocations: 0 / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3515, allocations: 0 / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.352, allocations: 353.4 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.352, allocations: 4 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.352, allocations: 11.98 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.352, allocations: 3.938 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3521, allocations: 0 / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3521, allocations: 0 / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3521, allocations: 4 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.3524, allocations: 215.3 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.3524, allocations: 11.95 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.3524, allocations: 0 / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.3525, allocations: 7.984 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.3525, allocations: 11.92 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.3525, allocations: 4 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.038e-05/0.3526, allocations: 95.75 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3526, allocations: 0 / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002734/0.3529, allocations: 20 kB / 1.333 GB, free: 11.23 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.0001381/0.353, allocations: 111.2 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000395/0.3534, allocations: 159.3 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3534, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.3535, allocations: 39.91 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.3538, allocations: 17.62 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.3542, allocations: 200 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.3545, allocations: 0.6923 MB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.3545, allocations: 11.44 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3545, allocations: 0 / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of Templates: time 0.003058/0.3576, allocations: 1.293 MB / 1.335 GB, free: 8.656 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 -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: 11.02453352601151]