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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001185/0.001185, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001432/0.001432, allocations: 192.5 kB / 16.14 MB, free: 6.734 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.577/1.577, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.974/2.974, allocations: 472.7 MB / 0.7447 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 68.38 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4796, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.00251/0.4822, allocations: 0.8234 MB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.4835, allocations: 0.8701 MB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.975e-05/0.4836, allocations: 4 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.568e-05/0.4836, allocations: 7.922 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.4837, allocations: 4 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.484, allocations: 39.89 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.4841, allocations: 75.83 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.4843, allocations: 23.98 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.4844, allocations: 35.84 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.4845, allocations: 43.83 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.4845, allocations: 4 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.178e-05/0.4846, allocations: 8 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.4846, allocations: 23.89 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/0.4847, allocations: 31.8 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.4849, allocations: 83.72 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4849, allocations: 0 / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4849, allocations: 0 / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.4849, allocations: 0 / 1.07 GB, free: 8.73 MB / 0.8262 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.0008299/0.4857, allocations: 397.2 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.4858, allocations: 12.03 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.4858, allocations: 8.844 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.486, allocations: 172.2 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.4861, allocations: 8.375 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.4861, allocations: 8.312 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.4864, allocations: 112.6 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4865, allocations: 8 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.4865, allocations: 8 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4865, allocations: 0 / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.4869, allocations: 91.91 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/0.4875, allocations: 352.6 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.4882, allocations: 114.6 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.4885, allocations: 60.75 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.4885, allocations: 7.938 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.4885, allocations: 30.56 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.4885, allocations: 0 / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0007973/0.4893, allocations: 189.4 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.4894, allocations: 55.41 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.4895, allocations: 117.8 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.4895, allocations: 25.7 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.4896, allocations: 100 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.4897, allocations: 15.75 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.4897, allocations: 25.7 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4899, allocations: 318.8 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.4901, allocations: 51.95 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.4902, allocations: 43.95 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.4906, allocations: 92.72 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4906, allocations: 4 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004175/0.491, allocations: 138 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4911, allocations: 4 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4911, allocations: 0 / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4911, allocations: 0 / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.4912, allocations: 23.97 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.4913, allocations: 4.062 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.4914, allocations: 23.91 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.4914, allocations: 4 kB / 1.072 GB, free: 5.938 MB / 0.8262 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 9.801e-05/0.4915, allocations: 119.5 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.4916, allocations: 7.906 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.4916, allocations: 8.375 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4916, allocations: 0 / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.4916, allocations: 3.984 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4916, allocations: 11.86 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.4919, allocations: 213.5 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4919, allocations: 0 / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.492, allocations: 23.97 kB / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.492, allocations: 0 / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.4921, allocations: 3.984 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4921, allocations: 0 / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4921, allocations: 0 / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.4925, allocations: 231.4 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.4926, allocations: 89.02 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.4926, allocations: 7.938 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.4928, allocations: 11.98 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.4929, allocations: 19.97 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.4929, allocations: 7.922 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.883e-05/0.493, allocations: 107.2 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.493, allocations: 0 / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002294/0.4932, allocations: 12 kB / 1.073 GB, free: 4.984 MB / 0.8262 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.000155/0.4934, allocations: 99.25 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004351/0.4938, allocations: 103.9 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4938, allocations: 4 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.494, allocations: 63.88 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.4944, allocations: 12 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.4949, allocations: 195.8 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.4953, allocations: 0.6887 MB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.294e-05/0.4954, allocations: 12 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.926e-05/0.4955, allocations: 19.42 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4955, allocations: 0 / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of Templates: time 0.004579/0.5001, allocations: 1.358 MB / 1.075 GB, free: 2.387 MB / 0.8262 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