Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_9_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_9_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.001292/0.001292, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001919/0.001919, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.91 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8868/0.8881, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.002159/0.8903, allocations: 0.7734 MB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.8914, allocations: 0.8618 MB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.8915, allocations: 1.125 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.8915, allocations: 5.297 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.959e-05/0.8917, allocations: 13.7 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.8918, allocations: 38.8 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.892, allocations: 86.55 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.8921, allocations: 25.81 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.987e-05/0.8922, allocations: 35.77 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.8924, allocations: 49.39 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.8924, allocations: 7.719 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.976e-05/0.8924, allocations: 11.91 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.241e-05/0.8925, allocations: 19.94 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.997e-05/0.8925, allocations: 43.12 kB / 1.091 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.8927, allocations: 86.61 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.8927, allocations: 1.188 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8927, allocations: 0 / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.8927, allocations: 0 / 1.091 GB, free: 4.148 MB / 0.8575 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.0006365/0.8934, allocations: 395.9 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.8934, allocations: 9.969 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.8935, allocations: 8.781 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.8936, allocations: 186.8 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.8936, allocations: 3.344 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.8936, allocations: 7.562 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.894, allocations: 105.2 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.894, allocations: 0 / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.894, allocations: 1.797 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.894, allocations: 1.062 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.8944, allocations: 101.2 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.895, allocations: 348.4 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006313/0.8956, allocations: 122.4 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.8958, allocations: 54.98 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.8958, allocations: 1.188 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.8959, allocations: 40.36 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.8959, allocations: 0 / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006807/0.8966, allocations: 185.1 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.8966, allocations: 52.77 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/0.8967, allocations: 124.4 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.8967, allocations: 25.7 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.8968, allocations: 97.55 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.8968, allocations: 15.3 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.8969, allocations: 32.11 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.576e-05/0.8969, allocations: 318.8 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.8971, allocations: 47.98 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.8973, allocations: 48.47 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.8977, allocations: 102.8 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8977, allocations: 0 / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004242/0.8981, allocations: 130.2 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.8981, allocations: 5.25 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.8982, allocations: 0.6562 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.8982, allocations: 4.812 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.8983, allocations: 26.8 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.8984, allocations: 0.7031 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.8985, allocations: 18.81 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.8985, allocations: 2.828 kB / 1.093 GB, free: 2.203 MB / 0.8575 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 7.897e-05/0.8986, allocations: 118.3 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.8986, allocations: 6.438 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.8987, allocations: 15.81 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.8987, allocations: 4.797 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.8987, allocations: 0.5156 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.8987, allocations: 5.672 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.8989, allocations: 198 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.8989, allocations: 0.6094 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.8991, allocations: 22.08 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.8991, allocations: 1.625 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.8991, allocations: 5.906 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.8991, allocations: 0.7969 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.8991, allocations: 5.312 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.8996, allocations: 233 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/0.8996, allocations: 84.05 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.8996, allocations: 1.375 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.8998, allocations: 22.36 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/0.8999, allocations: 24.39 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.8999, allocations: 3.578 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.192e-05/0.9, allocations: 93.42 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9, allocations: 3.938 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002372/0.9002, allocations: 15.09 kB / 1.094 GB, free: 1.48 MB / 0.8575 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.0001246/0.9003, allocations: 107.7 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004634/0.9008, allocations: 108 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9008, allocations: 0 / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.901, allocations: 58.81 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.9014, allocations: 17.42 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.9019, allocations: 204 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.902, allocations: 0.6941 MB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.9021, allocations: 16.27 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.9021, allocations: 0 / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of Templates: time 0.004047/0.9061, allocations: 1.255 MB / 1.096 GB, free: 364 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches