Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 443.5 MB / 0.7293 GB, free: 14.7 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 71.88 kB / 1.057 GB, free: 2.105 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3016, allocations: 160.7 MB / 1.214 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002095/0.3037, allocations: 0.753 MB / 1.215 GB, free: 328 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.3054, allocations: 1.156 MB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.3054, allocations: 4 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.3055, allocations: 7.875 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.946e-05/0.3056, allocations: 11.88 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005532/0.3061, allocations: 135.5 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.3063, allocations: 123.7 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.996e-05/0.3064, allocations: 8 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.3065, allocations: 51.89 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.3066, allocations: 43.88 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.3067, allocations: 16 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.657e-05/0.3067, allocations: 23.98 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.3068, allocations: 15.88 kB / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.34e-05/0.3068, allocations: 47.83 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.3071, allocations: 111.6 kB / 1.217 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3071, allocations: 0 / 1.217 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3071, allocations: 0 / 1.217 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.739e-06/0.3071, allocations: 0 / 1.217 GB, free: 14.56 MB / 0.9669 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.0006897/0.3078, allocations: 416.8 kB / 1.217 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3078, allocations: 12.03 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.3078, allocations: 8.938 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.308, allocations: 176.3 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.308, allocations: 4.375 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.308, allocations: 8.375 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.3083, allocations: 74.16 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3083, allocations: 192 / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.3083, allocations: 11.92 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.3083, allocations: 0 / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.3085, allocations: 43.95 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.309, allocations: 332.7 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.3092, allocations: 62.55 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.3093, allocations: 28.97 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.3093, allocations: 0 / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.3096, allocations: 95.3 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.3096, allocations: 0 / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004766/0.3101, allocations: 153.5 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.3101, allocations: 59.41 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3102, allocations: 113.8 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.3103, allocations: 29.7 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.3103, allocations: 96.08 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.3103, allocations: 19.84 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-05/0.3104, allocations: 33.7 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3106, allocations: 326.8 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.3108, allocations: 59.89 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.3109, allocations: 84.25 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.3112, allocations: 137.9 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3112, allocations: 4 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004795/0.3117, allocations: 211.1 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.3118, allocations: 37.7 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3118, allocations: 8.125 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3118, allocations: 0 / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.467e-05/0.3119, allocations: 15.92 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3119, allocations: 4 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.3121, allocations: 35.91 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.3121, allocations: 8 kB / 1.219 GB, free: 11.62 MB / 0.9669 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.0001175/0.3122, allocations: 129.8 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.3123, allocations: 4 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.3123, allocations: 12.36 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3123, allocations: 0 / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3123, allocations: 4 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3123, allocations: 0 / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005175/0.3128, allocations: 390.2 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3128, allocations: 0 / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-05/0.3129, allocations: 15.98 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3129, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3129, allocations: 4 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3129, allocations: 0 / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3129, allocations: 64 / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.3132, allocations: 215.3 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.3133, allocations: 85.06 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.3133, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.3134, allocations: 11.98 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.3134, allocations: 11.92 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.3134, allocations: 4 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.088e-05/0.3135, allocations: 91.27 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3135, allocations: 0 / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002726/0.3138, allocations: 24 kB / 1.22 GB, free: 10.54 MB / 0.9669 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.0001632/0.3139, allocations: 111.2 kB / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004157/0.3144, allocations: 155.3 kB / 1.22 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3144, allocations: 0 / 1.22 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.3145, allocations: 39.91 kB / 1.22 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.3148, allocations: 28.25 kB / 1.22 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.3152, allocations: 192 kB / 1.221 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.3155, allocations: 0.69 MB / 1.221 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.3156, allocations: 11.44 kB / 1.221 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.3156, allocations: 0 / 1.221 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of Templates: time 0.003358/0.3189, allocations: 1.273 MB / 1.223 GB, free: 7.977 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.220003021880984]