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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00138/0.00138, 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.002166/0.002166, 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.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.919/2.919, allocations: 437.7 MB / 0.7117 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004242, allocations: 8 kB / 0.8722 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7795/0.7799, allocations: 153.8 MB / 1.022 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001006/0.781, allocations: 429.3 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009638/0.782, allocations: 0.8196 MB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.998e-05/0.782, allocations: 4 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.7821, allocations: 7.938 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.452e-05/0.7822, allocations: 3.938 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.7823, allocations: 19.98 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.93e-05/0.7824, allocations: 43.84 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.7825, allocations: 15.92 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.298e-05/0.7826, allocations: 11.98 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.7827, allocations: 23.84 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.7827, allocations: 8 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.7827, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.7827, allocations: 8 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.7828, allocations: 25.7 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.631e-05/0.7829, allocations: 35.91 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.7829, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7829, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.7829, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 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.0005246/0.7834, allocations: 353.3 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.7835, allocations: 15.97 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.7835, allocations: 3.906 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.7837, allocations: 167 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.7837, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.7837, allocations: 8 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.7839, allocations: 77.59 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.7839, allocations: 4 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.784, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.784, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.7842, allocations: 59.94 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.7847, allocations: 300.7 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.7849, allocations: 70.53 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.785, allocations: 32.92 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.7851, allocations: 0 / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.7851, allocations: 42.55 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.434e-06/0.7851, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004256/0.7855, allocations: 121.6 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.7856, allocations: 51.41 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.567e-05/0.7857, allocations: 113.8 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.7857, allocations: 25.7 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.7858, allocations: 88.05 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.7858, allocations: 15.78 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.7858, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.7859, allocations: 322.8 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.7861, allocations: 23.98 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.626e-05/0.7861, allocations: 31.97 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.83e-05/0.7863, allocations: 31.94 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7863, allocations: 3.938 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002334/0.7865, allocations: 97.77 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.7865, allocations: 8 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.7865, allocations: 4 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.7866, allocations: 0 / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.7867, allocations: 11.98 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7867, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.888e-05/0.7868, allocations: 16.03 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.7868, allocations: 7.984 kB / 1.026 GB, free: 12.28 MB / 0.7794 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 (intGreThr.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.933e-05/0.7869, allocations: 113.8 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.787, allocations: 8 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.787, allocations: 11.89 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.787, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.787, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.787, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.7872, allocations: 173.6 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7872, allocations: 3.953 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.248e-05/0.7873, allocations: 19.92 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7873, allocations: 0 / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.7874, allocations: 8 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.7874, allocations: 0 / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7874, allocations: 0 / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.7877, allocations: 191.4 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.7877, allocations: 85.06 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.7878, allocations: 0 / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.7879, allocations: 15.98 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/0.7879, allocations: 11.98 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.788, allocations: 0 / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.788, allocations: 91.27 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.659e-06/0.788, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002287/0.7883, allocations: 11.94 kB / 1.027 GB, free: 11.45 MB / 0.7794 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 (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.0001261/0.7884, allocations: 103.2 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.7886, allocations: 59.95 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7887, allocations: 0 / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.7888, allocations: 43.97 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.7891, allocations: 9.703 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.7894, allocations: 136.5 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.7897, allocations: 0.6848 MB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.795e-05/0.7897, allocations: 7.984 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.7898, allocations: 7.438 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.7898, allocations: 3.938 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.003101/0.7929, allocations: 0.7465 MB / 1.028 GB, free: 9.598 MB / 0.7794 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