Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 109 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 195.6 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 222.9 MB / 245.7 MB, free: 4.254 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.03/3.03, allocations: 489.3 MB / 0.7687 GB, free: 3.828 MB / 0.6075 GB " [Timeout remaining time 176] 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.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.89 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202/1.204, allocations: 163.8 MB / 1.263 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002227/1.206, allocations: 0.8767 MB / 1.263 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001266/1.207, allocations: 0.8837 MB / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.5e-05/1.207, allocations: 2.219 kB / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000153/1.208, allocations: 17.72 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.21e-05/1.208, allocations: 14.77 kB / 1.264 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/1.208, allocations: 34.7 kB / 1.264 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/1.208, allocations: 102.6 kB / 1.265 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/1.208, allocations: 52.59 kB / 1.265 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/1.208, allocations: 43.2 kB / 1.265 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.364e-05/1.208, allocations: 42.05 kB / 1.265 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/1.209, allocations: 7.344 kB / 1.265 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.268e-05/1.209, allocations: 8.656 kB / 1.265 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.017e-05/1.209, allocations: 17.58 kB / 1.265 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/1.209, allocations: 38.84 kB / 1.265 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/1.209, allocations: 104.6 kB / 1.265 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/1.209, allocations: 0 / 1.265 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.288e-06/1.209, allocations: 1.531 kB / 1.265 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.242e-06/1.209, allocations: 0 / 1.265 GB, free: 6.543 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006226/1.21, allocations: 414 kB / 1.265 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.21, allocations: 9.688 kB / 1.265 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/1.21, allocations: 12.97 kB / 1.265 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/1.21, allocations: 206.2 kB / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/1.21, allocations: 3.156 kB / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/1.21, allocations: 12.47 kB / 1.265 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/1.21, allocations: 92.17 kB / 1.266 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.21, allocations: 4.125 kB / 1.266 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/1.21, allocations: 8.5 kB / 1.266 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/1.21, allocations: 2.156 kB / 1.266 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/1.211, allocations: 69.44 kB / 1.266 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005633/1.211, allocations: 359 kB / 1.266 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/1.211, allocations: 62.27 kB / 1.266 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/1.211, allocations: 36.45 kB / 1.266 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/1.212, allocations: 4.875 kB / 1.266 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/1.212, allocations: 31.86 kB / 1.266 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/1.212, allocations: 0.75 kB / 1.266 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004868/1.212, allocations: 124.1 kB / 1.266 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/1.212, allocations: 52.47 kB / 1.266 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/1.212, allocations: 138.4 kB / 1.266 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/1.212, allocations: 26.83 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/1.212, allocations: 101 kB / 1.267 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/1.212, allocations: 17.64 kB / 1.267 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/1.212, allocations: 24.03 kB / 1.267 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.053e-05/1.212, allocations: 315.2 kB / 1.267 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/1.213, allocations: 31.92 kB / 1.267 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/1.213, allocations: 36.58 kB / 1.267 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/1.213, allocations: 58.12 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.213, allocations: 1.281 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002834/1.213, allocations: 98.88 kB / 1.267 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.213, allocations: 11.7 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.213, allocations: 0.7812 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.213, allocations: 0.5156 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/1.213, allocations: 11.88 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.213, allocations: 4.562 kB / 1.267 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/1.213, allocations: 15.56 kB / 1.267 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/1.214, allocations: 1.562 kB / 1.267 GB, free: 4.621 MB / 0.9981 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 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.904e-05/1.214, allocations: 118.9 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/1.214, allocations: 8.062 kB / 1.267 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/1.214, allocations: 14.66 kB / 1.267 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/1.214, allocations: 0.7188 kB / 1.267 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.214, allocations: 5.25 kB / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.214, allocations: 0 / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/1.214, allocations: 185.8 kB / 1.267 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.214, allocations: 4.625 kB / 1.267 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/1.214, allocations: 15.58 kB / 1.267 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.214, allocations: 0.5625 kB / 1.267 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/1.214, allocations: 5.859 kB / 1.267 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.214, allocations: 0 / 1.267 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.214, allocations: 3.938 kB / 1.267 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/1.214, allocations: 191.3 kB / 1.268 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/1.214, allocations: 83.38 kB / 1.268 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/1.214, allocations: 9.625 kB / 1.268 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/1.215, allocations: 19.22 kB / 1.268 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/1.215, allocations: 12.77 kB / 1.268 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/1.215, allocations: 0.8438 kB / 1.268 GB, free: 4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.249e-05/1.215, allocations: 101.8 kB / 1.268 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.215, allocations: 1.188 kB / 1.268 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002285/1.215, allocations: 13.19 kB / 1.268 GB, free: 3.914 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001668/1.215, allocations: 112.1 kB / 1.268 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003266/1.215, allocations: 65.72 kB / 1.268 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.215, allocations: 0 / 1.268 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/1.216, allocations: 31.12 kB / 1.268 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/1.216, allocations: 17.58 kB / 1.268 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/1.216, allocations: 217.8 kB / 1.268 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/1.217, allocations: 0.693 MB / 1.269 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/1.217, allocations: 12.89 kB / 1.269 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/1.217, allocations: 0 / 1.269 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of Templates: time 0.003695/1.22, allocations: 1.13 MB / 1.27 GB, free: 2.809 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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: 11.680333150085062]