Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001589/0.001589, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001807/0.001807, allocations: 218.3 kB / 23 MB, free: 4.914 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.801/2.801, allocations: 476 MB / 0.7707 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [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.002255/0.002255, allocations: 65.88 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3257, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001927/0.3276, allocations: 0.6916 MB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3287, allocations: 0.8589 MB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.3288, allocations: 0 / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.3288, allocations: 0 / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.248e-05/0.3288, allocations: 3.938 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.329, allocations: 31.91 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.575e-05/0.3291, allocations: 47.84 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3292, allocations: 15.98 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.094e-05/0.3292, allocations: 15.94 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.3293, allocations: 27.89 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.3293, allocations: 4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.3294, allocations: 4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.3294, allocations: 4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.3294, allocations: 23.86 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.3295, allocations: 51.78 kB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3295, allocations: 0 / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3295, allocations: 0 / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3295, allocations: 0 / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005343/0.3301, allocations: 290.1 kB / 1.286 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3301, allocations: 8.031 kB / 1.286 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.3301, allocations: 8.891 kB / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.3303, allocations: 114.4 kB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3303, allocations: 384 / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.3303, allocations: 8.375 kB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.3305, allocations: 65.59 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3305, allocations: 4 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3305, allocations: 0 / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3305, allocations: 4 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.3307, allocations: 55.92 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.3311, allocations: 228.4 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.3313, allocations: 62.53 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3314, allocations: 28.92 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.3315, allocations: 4 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3315, allocations: 34.55 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3315, allocations: 7.938 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004079/0.3319, allocations: 109.5 kB / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.3319, allocations: 51.41 kB / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.754e-05/0.332, allocations: 109.8 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.332, allocations: 29.7 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.3321, allocations: 84.14 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.3321, allocations: 7.906 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.3322, allocations: 25.7 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3323, allocations: 318.8 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.3324, allocations: 23.97 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.162e-05/0.3325, allocations: 19.98 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.3327, allocations: 61.03 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3327, allocations: 0 / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002452/0.3329, allocations: 89.62 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.333, allocations: 4 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.333, allocations: 0 / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.333, allocations: 0 / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.3331, allocations: 11.98 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.3331, allocations: 0 / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.878e-05/0.3332, allocations: 15.92 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.3332, allocations: 4 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 8.655e-05/0.3333, allocations: 109.8 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.3333, allocations: 11.89 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.3333, allocations: 15.98 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3333, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3333, allocations: 4 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.3333, allocations: 3.938 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.3335, allocations: 117.2 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3335, allocations: 0 / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.775e-05/0.3336, allocations: 11.98 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3336, allocations: 0 / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3336, allocations: 4 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3336, allocations: 0 / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3336, allocations: 8 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.3339, allocations: 183.4 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.3339, allocations: 3.953 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.3339, allocations: 7.984 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.334, allocations: 4 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.3341, allocations: 15.92 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.3341, allocations: 3.984 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.3341, allocations: 87.28 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3341, allocations: 0 / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002212/0.3344, allocations: 8 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001105/0.3345, allocations: 102.2 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002614/0.3347, allocations: 55.94 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3347, allocations: 0 / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.3349, allocations: 31.91 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.3351, allocations: 11.94 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.3355, allocations: 155.3 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.313e-05/0.3356, allocations: 67.34 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.3356, allocations: 7.438 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.3356, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of Templates: time 0.002415/0.338, allocations: 0.8272 MB / 1.289 GB, free: 6.195 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.926701293326914]