Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001311/0.001311, allocations: 110.2 kB / 19.69 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.001553/0.001553, allocations: 213.4 kB / 23.01 MB, free: 4.566 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.043 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.111/3.111, 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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_12_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_12_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.002061/0.002061, allocations: 68.36 kB / 1.155 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.348, allocations: 176.1 MB / 1.327 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001891/0.3499, allocations: 0.715 MB / 1.328 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.351, allocations: 0.8783 MB / 1.329 GB, free: 32 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.351, allocations: 7.938 kB / 1.329 GB, free: 24 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.3511, allocations: 4 kB / 1.329 GB, free: 20 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.298e-05/0.3512, allocations: 3.938 kB / 1.329 GB, free: 16 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.3513, allocations: 20 kB / 1.329 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.3514, allocations: 51.84 kB / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3515, allocations: 11.98 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.901e-05/0.3516, allocations: 19.84 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.036e-05/0.3517, allocations: 23.91 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.3517, allocations: 4 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.3517, allocations: 4 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.3517, allocations: 8 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.3518, allocations: 31.84 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.3519, allocations: 39.81 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.3519, allocations: 7.984 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3519, allocations: 0 / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.3519, allocations: 0 / 1.329 GB, free: 15.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00053/0.3524, allocations: 278.2 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3525, allocations: 12.03 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.3525, allocations: 8.812 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.3526, allocations: 114.4 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.3526, allocations: 12.38 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.3527, allocations: 384 / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.3529, allocations: 73.58 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3529, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3529, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.3529, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.3531, allocations: 55.94 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.3535, allocations: 255.8 kB / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.3537, allocations: 62.58 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.3538, allocations: 32.88 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.3538, allocations: 0 / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3539, allocations: 34.56 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3539, allocations: 0 / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004039/0.3543, allocations: 109.5 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.3543, allocations: 59.34 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.528e-05/0.3544, allocations: 109.8 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.3544, allocations: 25.7 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.3545, allocations: 88.12 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.3545, allocations: 15.91 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.3545, allocations: 17.72 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3547, allocations: 318.8 kB / 1.331 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.629e-05/0.3548, allocations: 19.98 kB / 1.331 GB, free: 13.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.483e-05/0.3549, allocations: 23.97 kB / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.355, allocations: 65.03 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.355, allocations: 0 / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000229/0.3553, allocations: 81.62 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3553, allocations: 8 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3553, allocations: 0 / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3553, allocations: 0 / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.3554, allocations: 11.98 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3554, allocations: 320 / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.36e-05/0.3555, allocations: 27.86 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.3555, allocations: 4 kB / 1.331 GB, free: 13.73 MB / 1.029 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 9.183e-05/0.3556, allocations: 110.3 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.3556, allocations: 7.953 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.3557, allocations: 8 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3557, allocations: 3.938 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3557, allocations: 0 / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3557, allocations: 0 / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.3559, allocations: 152.7 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3559, allocations: 4 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.732e-05/0.3559, allocations: 11.98 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.356, allocations: 0 / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.356, allocations: 4 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.356, allocations: 4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.356, allocations: 3.984 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.3563, allocations: 187.4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-06/0.3563, allocations: 3.984 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.3563, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3564, allocations: 11.98 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.3564, allocations: 11.98 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.3564, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.509e-05/0.3565, allocations: 87.22 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3565, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002219/0.3567, allocations: 11.94 kB / 1.331 GB, free: 13.04 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: 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.0001169/0.3568, allocations: 103.2 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.3571, allocations: 55.89 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3571, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.3572, allocations: 31.97 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.3575, allocations: 3.938 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.3579, allocations: 166.3 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.3582, allocations: 0.6807 MB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.3582, allocations: 11.44 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3582, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of Templates: time 0.002443/0.3607, allocations: 0.8116 MB / 1.333 GB, free: 11.12 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.782726292993175]