Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01306/0.01306, allocations: 102 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002379/0.002379, allocations: 196.2 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.911/2.911, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 59.91 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334/1.335, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.002538/1.338, allocations: 0.7649 MB / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001613/1.34, allocations: 0.8701 MB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/1.34, allocations: 4 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.053e-05/1.34, allocations: 3.938 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001681/1.34, allocations: 11.86 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/1.34, allocations: 39.94 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001682/1.341, allocations: 83.77 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/1.341, allocations: 27.98 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/1.341, allocations: 35.86 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/1.341, allocations: 51.81 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/1.341, allocations: 8 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.964e-05/1.341, allocations: 8 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/1.341, allocations: 23.91 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/1.341, allocations: 39.78 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/1.341, allocations: 83.66 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.341, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.244e-06/1.341, allocations: 4 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.353e-06/1.341, allocations: 0 / 1.21 GB, free: 11.54 MB / 0.9356 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.0007867/1.342, allocations: 397 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.342, allocations: 8.031 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/1.342, allocations: 8.844 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/1.342, allocations: 172.2 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/1.342, allocations: 16.3 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/1.343, allocations: 4.375 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/1.343, allocations: 105.5 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/1.343, allocations: 4 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/1.343, allocations: 0 / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/1.343, allocations: 0 / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/1.343, allocations: 99.89 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/1.344, allocations: 360.5 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/1.345, allocations: 114.6 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/1.345, allocations: 56.81 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/1.345, allocations: 4 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/1.345, allocations: 30.56 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 4.208e-06/1.345, allocations: 0 / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0006339/1.345, allocations: 185.4 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/1.346, allocations: 55.41 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/1.346, allocations: 133.6 kB / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/1.346, allocations: 25.7 kB / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/1.346, allocations: 104 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/1.346, allocations: 11.75 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/1.346, allocations: 25.7 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.346, allocations: 318.8 kB / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/1.346, allocations: 47.95 kB / 1.212 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/1.346, allocations: 43.95 kB / 1.212 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/1.347, allocations: 101.2 kB / 1.212 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.347, allocations: 7.984 kB / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003739/1.347, allocations: 133.5 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.347, allocations: 4 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.347, allocations: 0 / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/1.347, allocations: 0 / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/1.347, allocations: 27.97 kB / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/1.347, allocations: 4 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/1.347, allocations: 23.91 kB / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/1.347, allocations: 0 / 1.212 GB, free: 8.746 MB / 0.9356 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.0001652/1.348, allocations: 117.8 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/1.348, allocations: 7.906 kB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/1.348, allocations: 8.375 kB / 1.212 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/1.348, allocations: 3.984 kB / 1.212 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.348, allocations: 0 / 1.212 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/1.348, allocations: 11.94 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/1.348, allocations: 197.5 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.348, allocations: 0 / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/1.348, allocations: 27.97 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/1.348, allocations: 0 / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/1.348, allocations: 3.984 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/1.348, allocations: 0 / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.348, allocations: 7.938 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/1.349, allocations: 231.3 kB / 1.213 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/1.349, allocations: 85.02 kB / 1.213 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/1.349, allocations: 0 / 1.213 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/1.349, allocations: 19.92 kB / 1.213 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/1.349, allocations: 27.91 kB / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/1.349, allocations: 0 / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.878e-05/1.349, allocations: 99.27 kB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.349, allocations: 0 / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002401/1.349, allocations: 15.94 kB / 1.213 GB, free: 7.801 MB / 0.9356 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.000152/1.349, allocations: 103.2 kB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004106/1.35, allocations: 103.9 kB / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.35, allocations: 4 kB / 1.213 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/1.35, allocations: 67.88 kB / 1.213 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/1.35, allocations: 12 kB / 1.213 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005934/1.351, allocations: 178.1 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/1.351, allocations: 0.6924 MB / 1.214 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.282e-05/1.352, allocations: 8 kB / 1.214 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/1.352, allocations: 27.42 kB / 1.214 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/1.352, allocations: 0 / 1.214 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of Templates: time 0.004866/1.356, allocations: 1.576 MB / 1.216 GB, free: 4.984 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches