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.001379/0.001379, 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.001493/0.001493, allocations: 212.4 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.175/3.175, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.002063/0.002063, allocations: 68.42 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3243, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002175/0.3264, allocations: 0.7279 MB / 1.328 GB, free: 312 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3282, allocations: 1.163 MB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.3282, allocations: 4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.538e-05/0.3282, allocations: 7.922 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.577e-05/0.3283, allocations: 11.88 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.3288, allocations: 149.5 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.329, allocations: 115.8 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.458e-05/0.3291, allocations: 12 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.3292, allocations: 51.89 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.812e-05/0.3293, allocations: 43.88 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.3293, allocations: 8 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.191e-05/0.3294, allocations: 27.94 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.3294, allocations: 7.984 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.419e-05/0.3295, allocations: 47.83 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.3297, allocations: 115.6 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3297, allocations: 0 / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3297, allocations: 0 / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3297, allocations: 3.938 kB / 1.33 GB, free: 14.54 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.000633/0.3304, allocations: 339.8 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3304, allocations: 8.031 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.3305, allocations: 8.891 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.3306, allocations: 118.4 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.3306, allocations: 8.359 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.3306, allocations: 12.38 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.3308, allocations: 74.2 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3308, allocations: 192 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3309, allocations: 3.938 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3309, allocations: 4 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.3311, allocations: 47.89 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.3315, allocations: 256.5 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.3317, allocations: 66.55 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3319, allocations: 28.91 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.3319, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.3321, allocations: 87.36 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.3321, allocations: 0 / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004845/0.3326, allocations: 153.6 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.3326, allocations: 55.34 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.3328, allocations: 121.8 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.3328, allocations: 25.7 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.3329, allocations: 88.14 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.3329, allocations: 27.78 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.937e-05/0.333, allocations: 41.64 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3331, allocations: 326.8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.3333, allocations: 81.66 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.3336, allocations: 127.6 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.3338, allocations: 133.9 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.3338, allocations: 7.938 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004971/0.3343, allocations: 244.9 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/0.3344, allocations: 37.69 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3344, allocations: 4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3344, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.348e-05/0.3345, allocations: 11.98 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3345, allocations: 4 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.3347, allocations: 27.97 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.3347, allocations: 11.98 kB / 1.332 GB, free: 11.75 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.0001125/0.3349, allocations: 130.3 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.3349, allocations: 7.953 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.3349, allocations: 8.375 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.3349, allocations: 7.984 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3349, allocations: 0 / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3349, allocations: 0 / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.3354, allocations: 318 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3354, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.3355, allocations: 19.98 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3355, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3355, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3355, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3355, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.3358, allocations: 207.4 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.3358, allocations: 7.953 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.3359, allocations: 12 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.3359, allocations: 11.98 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.336, allocations: 7.984 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.336, allocations: 3.938 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.99e-05/0.3361, allocations: 95.27 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3361, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002627/0.3363, allocations: 24 kB / 1.333 GB, free: 10.84 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.0001509/0.3365, allocations: 111.2 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004226/0.3369, allocations: 193 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3369, allocations: 0 / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.337, allocations: 39.91 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.3373, allocations: 18.73 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.3377, allocations: 168.7 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.389e-05/0.3378, allocations: 75.58 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.3378, allocations: 7.984 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.3379, allocations: 15.44 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3379, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of Templates: time 0.004524/0.3424, allocations: 1.631 MB / 1.335 GB, free: 8.555 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 gbode -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: 8.75310429399542]