Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.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.002107/0.002107, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.003091/0.003091, allocations: 216.2 kB / 22.26 MB, free: 5.082 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.784/1.784, allocations: 230.6 MB / 256 MB, free: 8.016 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.525/3.525, allocations: 0.49 GB / 0.7951 GB, free: 33.47 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.Integers.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") [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.002105/0.002105, allocations: 64.22 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4235, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.002574/0.4261, allocations: 0.7872 MB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.4275, allocations: 0.9016 MB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.4275, allocations: 0 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.059e-05/0.4276, allocations: 7.875 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.4277, allocations: 11.88 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.4279, allocations: 35.94 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000187/0.4281, allocations: 83.83 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.4282, allocations: 27.92 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.4284, allocations: 39.89 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.4285, allocations: 43.84 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.4285, allocations: 8 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.167e-05/0.4285, allocations: 12 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.764e-05/0.4286, allocations: 27.89 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.4286, allocations: 35.8 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.4288, allocations: 83.67 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4288, allocations: 3.938 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.006e-06/0.4288, allocations: 0 / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.4288, allocations: 0 / 1.328 GB, free: 15.35 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007689/0.4296, allocations: 329.9 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.4296, allocations: 12.03 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.4297, allocations: 8.891 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.4299, allocations: 118.4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.4299, allocations: 8.375 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.4299, allocations: 4.375 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.4303, allocations: 113.5 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4303, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.4303, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.4303, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.4306, allocations: 103.8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006329/0.4313, allocations: 311.8 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/0.4319, allocations: 118.5 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.4321, allocations: 52.88 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.4321, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.4321, allocations: 38.55 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.4321, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006528/0.4328, allocations: 185.4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.4328, allocations: 55.41 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.433, allocations: 129.7 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.433, allocations: 25.7 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.4331, allocations: 96.09 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.4331, allocations: 19.83 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.4332, allocations: 25.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4333, allocations: 314.8 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.4335, allocations: 43.95 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.4337, allocations: 48.27 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.434, allocations: 104.9 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.434, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003894/0.4344, allocations: 133.5 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4344, allocations: 8 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4344, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4344, allocations: 4 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.4346, allocations: 19.97 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.4346, allocations: 7.984 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.4347, allocations: 27.81 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.4347, allocations: 0 / 1.331 GB, free: 12.74 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: 3 (reaToInt1.y,reaToInt.y,intGre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001126/0.4348, allocations: 113.8 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.4349, allocations: 8 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.4349, allocations: 16.34 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.4349, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4349, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.4349, allocations: 3.938 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.4351, allocations: 168.6 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4351, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.4353, allocations: 27.91 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4353, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.4353, allocations: 16 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4353, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4353, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/0.4358, allocations: 231.3 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.4358, allocations: 3.938 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.4358, allocations: 8 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.436, allocations: 15.97 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.4361, allocations: 23.91 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.4361, allocations: 8 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.439e-05/0.4362, allocations: 91.27 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4362, allocations: 0 / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002326/0.4364, allocations: 15.95 kB / 1.331 GB, free: 11.93 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: 3 (intGre.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001775/0.4366, allocations: 111.2 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004305/0.437, allocations: 107.9 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.437, allocations: 3.938 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.4372, allocations: 59.89 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.4376, allocations: 18.17 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.4381, allocations: 166.4 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.4385, allocations: 0.6977 MB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.795e-05/0.4386, allocations: 8 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.4386, allocations: 19.42 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4386, allocations: 3.938 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of Templates: time 0.004894/0.4435, allocations: 1.64 MB / 1.334 GB, free: 9.055 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.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.41818931279704]