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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001099/0.001099, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001558/0.001559, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.119/3.119, allocations: 462.6 MB / 0.736 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005002/0.0005002, allocations: 15.38 kB / 0.9021 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3797, allocations: 159.6 MB / 1.058 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.001141/0.3809, allocations: 471.6 kB / 1.058 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.382, allocations: 0.8624 MB / 1.059 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.3821, allocations: 0 / 1.059 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.3821, allocations: 0 / 1.059 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.929e-05/0.3822, allocations: 19.92 kB / 1.059 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.3824, allocations: 35.89 kB / 1.059 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.3826, allocations: 67.75 kB / 1.059 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3827, allocations: 23.98 kB / 1.059 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.679e-05/0.3828, allocations: 31.89 kB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.155e-05/0.3829, allocations: 39.83 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.383, allocations: 8 kB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.383, allocations: 4 kB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.383, allocations: 15.91 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.383, allocations: 37.64 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.261e-05/0.3831, allocations: 55.86 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3831, allocations: 0 / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3832, allocations: 0 / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.3832, allocations: 0 / 1.06 GB, free: 3.578 MB / 0.8106 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.0006905/0.3839, allocations: 395.3 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3839, allocations: 8.031 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.384, allocations: 7.906 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.3841, allocations: 175 kB / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.3842, allocations: 4 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.3842, allocations: 11.95 kB / 1.06 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.3845, allocations: 113.6 kB / 1.06 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3845, allocations: 3.938 kB / 1.06 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3846, allocations: 3.938 kB / 1.06 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3846, allocations: 4 kB / 1.06 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/0.385, allocations: 119.9 kB / 1.06 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005758/0.3855, allocations: 344.7 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/0.3861, allocations: 134.5 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.3863, allocations: 68.75 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.3864, allocations: 0 / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3864, allocations: 38.55 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3864, allocations: 0 / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006498/0.387, allocations: 221.4 kB / 1.061 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3871, allocations: 51.41 kB / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.3872, allocations: 129.8 kB / 1.061 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.3872, allocations: 25.7 kB / 1.061 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.3873, allocations: 92.05 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.3873, allocations: 23.73 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.3873, allocations: 0 / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3875, allocations: 318.8 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.3876, allocations: 59.95 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.3878, allocations: 51.95 kB / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.388, allocations: 55.95 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.388, allocations: 4 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003906/0.3884, allocations: 161.5 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3884, allocations: 4 kB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.3885, allocations: 0 / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.3885, allocations: 3.938 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.3887, allocations: 31.97 kB / 1.062 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3887, allocations: 0.5469 kB / 1.062 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.3888, allocations: 23.98 kB / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3888, allocations: 7.922 kB / 1.062 GB, free: 0.7188 MB / 0.8106 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 (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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.594e-05/0.3889, allocations: 117.8 kB / 1.062 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.389, allocations: 7.906 kB / 1.062 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.389, allocations: 12.38 kB / 1.062 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.389, allocations: 4 kB / 1.062 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.389, allocations: 0 / 1.062 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.389, allocations: 0 / 1.062 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.3893, allocations: 201.5 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3893, allocations: 0 / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.3894, allocations: 27.97 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3894, allocations: 4 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.3895, allocations: 4 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3895, allocations: 3.938 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3895, allocations: 4 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/0.3899, allocations: 267.3 kB / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.39, allocations: 85 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.39, allocations: 0 / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.3902, allocations: 19.98 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.3902, allocations: 23.97 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.3903, allocations: 7.938 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.361e-05/0.3903, allocations: 91.27 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3903, allocations: 0 / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002292/0.3906, allocations: 16 kB / 1.063 GB, free: 15.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001255/0.3907, allocations: 103.2 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004033/0.3911, allocations: 127.8 kB / 1.063 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3911, allocations: 0 / 1.063 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.3913, allocations: 71.94 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.3916, allocations: 13.92 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.3921, allocations: 197.2 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3924, allocations: 0.6888 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.825e-05/0.3925, allocations: 12.17 kB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.682e-05/0.3926, allocations: 19.42 kB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of SimCode: time 4e-07/0.3926, allocations: 0 / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of Templates: time 0.003814/0.3964, allocations: 1.301 MB / 1.066 GB, free: 13.16 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