Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001681/0.001681, allocations: 113.3 kB / 17.08 MB, free: 6.012 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.002132/0.002133, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.447/1.447, allocations: 222.9 MB / 245.7 MB, free: 4.23 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.753/2.753, allocations: 437.1 MB / 0.7177 GB, free: 4.488 MB / 0.5606 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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 72.08 kB / 1.028 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3218, allocations: 151.6 MB / 1.176 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002265/0.3241, allocations: 0.7117 MB / 1.177 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.3253, allocations: 0.8428 MB / 1.177 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.3254, allocations: 0 / 1.177 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.742e-05/0.3254, allocations: 3.938 kB / 1.177 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.131e-05/0.3255, allocations: 3.938 kB / 1.177 GB, free: 4.273 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.3257, allocations: 19.98 kB / 1.177 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.3258, allocations: 55.83 kB / 1.177 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3259, allocations: 15.98 kB / 1.177 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.326, allocations: 11.94 kB / 1.177 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.776e-05/0.3261, allocations: 27.91 kB / 1.178 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.3262, allocations: 7.984 kB / 1.178 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.3262, allocations: 4 kB / 1.178 GB, free: 4.133 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.3262, allocations: 19.86 kB / 1.178 GB, free: 4.113 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.574e-05/0.3263, allocations: 19.94 kB / 1.178 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.3264, allocations: 51.72 kB / 1.178 GB, free: 4.043 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3264, allocations: 0 / 1.178 GB, free: 4.043 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3264, allocations: 0 / 1.178 GB, free: 4.043 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.3264, allocations: 0 / 1.178 GB, free: 4.043 MB / 0.92 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.0006258/0.3271, allocations: 359.3 kB / 1.178 GB, free: 3.645 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3271, allocations: 8.031 kB / 1.178 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.3272, allocations: 4.938 kB / 1.178 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.3273, allocations: 176.3 kB / 1.178 GB, free: 3.422 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.3274, allocations: 4.375 kB / 1.178 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.3274, allocations: 8.375 kB / 1.178 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.3276, allocations: 69.53 kB / 1.178 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3276, allocations: 0 / 1.178 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3276, allocations: 0 / 1.178 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3277, allocations: 4 kB / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.3279, allocations: 43.95 kB / 1.178 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.3284, allocations: 300.8 kB / 1.179 GB, free: 2.945 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.3286, allocations: 62.48 kB / 1.179 GB, free: 2.875 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.3287, allocations: 32.91 kB / 1.179 GB, free: 2.84 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.3288, allocations: 0 / 1.179 GB, free: 2.84 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.3288, allocations: 38.56 kB / 1.179 GB, free: 2.793 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3288, allocations: 0 / 1.179 GB, free: 2.793 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.000451/0.3293, allocations: 105.8 kB / 1.179 GB, free: 2.684 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.3293, allocations: 51.41 kB / 1.179 GB, free: 2.621 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.753e-05/0.3294, allocations: 113.8 kB / 1.179 GB, free: 2.5 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.3295, allocations: 29.64 kB / 1.179 GB, free: 2.465 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.3295, allocations: 96.02 kB / 1.179 GB, free: 2.367 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.3296, allocations: 11.95 kB / 1.179 GB, free: 2.355 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.3296, allocations: 17.72 kB / 1.179 GB, free: 2.332 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3297, allocations: 318.8 kB / 1.179 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.3299, allocations: 19.98 kB / 1.179 GB, free: 1.992 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.904e-05/0.33, allocations: 23.97 kB / 1.179 GB, free: 1.969 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.3302, allocations: 60.81 kB / 1.179 GB, free: 1.906 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3302, allocations: 0 / 1.179 GB, free: 1.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002547/0.3304, allocations: 77.61 kB / 1.18 GB, free: 1.824 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3305, allocations: 11.94 kB / 1.18 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3305, allocations: 0 / 1.18 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3305, allocations: 3.984 kB / 1.18 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.3306, allocations: 15.92 kB / 1.18 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.3307, allocations: 0 / 1.18 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.863e-05/0.3307, allocations: 11.94 kB / 1.18 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3308, allocations: 7.984 kB / 1.18 GB, free: 1.773 MB / 0.92 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.833e-05/0.3309, allocations: 113.8 kB / 1.18 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.3309, allocations: 4 kB / 1.18 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.3309, allocations: 7.906 kB / 1.18 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.3309, allocations: 0 / 1.18 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.331, allocations: 0 / 1.18 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.331, allocations: 0 / 1.18 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.3312, allocations: 177.6 kB / 1.18 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3312, allocations: 4 kB / 1.18 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.195e-05/0.3313, allocations: 11.98 kB / 1.18 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3313, allocations: 0 / 1.18 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.3313, allocations: 4 kB / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3313, allocations: 0 / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3313, allocations: 4 kB / 1.18 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.3317, allocations: 191.3 kB / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.3317, allocations: 77.11 kB / 1.18 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.3317, allocations: 7.984 kB / 1.18 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3319, allocations: 4 kB / 1.18 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.3319, allocations: 15.92 kB / 1.18 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.3319, allocations: 4 kB / 1.18 GB, free: 1.059 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.332, allocations: 83.27 kB / 1.18 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.332, allocations: 0 / 1.18 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002328/0.3323, allocations: 19.89 kB / 1.18 GB, free: 0.957 MB / 0.92 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.0001355/0.3324, allocations: 103.2 kB / 1.18 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002827/0.3327, allocations: 56.06 kB / 1.18 GB, free: 0.793 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3327, allocations: 0 / 1.18 GB, free: 0.793 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.3328, allocations: 35.97 kB / 1.18 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.3331, allocations: 2.422 kB / 1.18 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.3335, allocations: 159.1 kB / 1.181 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.3339, allocations: 0.6884 MB / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.3339, allocations: 15.44 kB / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3339, allocations: 0 / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of Templates: time 0.002466/0.3364, allocations: 0.8116 MB / 1.182 GB, free: 15.03 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.352686251979321]