Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008611/0.008611, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001535/0.001535, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.608/1.608, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.791/2.791, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.89 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4761/0.4774, allocations: 151.6 MB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002592/0.48, allocations: 0.6999 MB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.4816, allocations: 0.8471 MB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.4817, allocations: 4 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.289e-05/0.4818, allocations: 3.938 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.4819, allocations: 7.922 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.4821, allocations: 15.98 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.4822, allocations: 47.91 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.4824, allocations: 15.98 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.252e-05/0.4825, allocations: 19.92 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.329e-05/0.4825, allocations: 27.91 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.4826, allocations: 4 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.636e-05/0.4826, allocations: 4 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.4826, allocations: 11.92 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.142e-05/0.4827, allocations: 19.92 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.4828, allocations: 51.67 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4828, allocations: 3.938 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.725e-06/0.4828, allocations: 0 / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.4829, allocations: 0 / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006427/0.4835, allocations: 363.3 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/0.4836, allocations: 12.03 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.4836, allocations: 0.9375 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.4839, allocations: 176.3 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.4839, allocations: 4.375 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.4839, allocations: 4.359 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.4842, allocations: 73.59 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4842, allocations: 7.984 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.4842, allocations: 0 / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.4842, allocations: 0 / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.4845, allocations: 51.89 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.4851, allocations: 284.8 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.4853, allocations: 70.53 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.4854, allocations: 28.91 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.4855, allocations: 0 / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/0.4855, allocations: 42.5 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.4855, allocations: 0 / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004877/0.486, allocations: 105.6 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.4861, allocations: 51.41 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.4862, allocations: 109.8 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.4863, allocations: 25.7 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.4864, allocations: 88.09 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.4864, allocations: 12.02 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.4865, allocations: 17.7 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4866, allocations: 318.8 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.4868, allocations: 35.91 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.906e-05/0.4869, allocations: 27.91 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.4871, allocations: 48.83 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4871, allocations: 0 / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00024/0.4873, allocations: 85.59 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.4873, allocations: 8 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4874, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.4874, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.4875, allocations: 11.98 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.4875, allocations: 4 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.232e-05/0.4876, allocations: 7.984 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.4876, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001104/0.4877, allocations: 121.7 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.4878, allocations: 7.984 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.4878, allocations: 16.17 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.4878, allocations: 0 / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.4879, allocations: 0 / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4879, allocations: 3.984 kB / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.4881, allocations: 177.5 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4881, allocations: 4 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.257e-05/0.4882, allocations: 7.984 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4882, allocations: 4 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.4882, allocations: 0 / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.4882, allocations: 8.312 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4882, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.4885, allocations: 187.3 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.4886, allocations: 81.11 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.4886, allocations: 0 / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.4887, allocations: 11.98 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.872e-05/0.4888, allocations: 15.98 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.4888, allocations: 0 / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.509e-05/0.4889, allocations: 91.25 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4889, allocations: 0 / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002278/0.4891, allocations: 15.89 kB / 1.171 GB, free: 1.934 MB / 0.92 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 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * 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.0001537/0.4893, allocations: 99.25 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002853/0.4895, allocations: 51.95 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4896, allocations: 7.938 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.4897, allocations: 35.91 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.49, allocations: 9.859 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.4905, allocations: 125.4 kB / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.491, allocations: 0.6846 MB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.317e-05/0.4911, allocations: 11.98 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.4912, allocations: 11.44 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of SimCode: time 2.71e-07/0.4912, allocations: 0 / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of Templates: time 0.004033/0.4952, allocations: 0.8825 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches