Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_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_latest_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.0009391/0.0009391, 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.001342/0.001342, 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.568/1.568, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.019/3.019, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004475, allocations: 10.84 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3761, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001272/0.3774, allocations: 431.7 kB / 1.058 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.3787, allocations: 0.8313 MB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.3788, allocations: 0 / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.3788, allocations: 3.938 kB / 1.059 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.3789, allocations: 4 kB / 1.059 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.3791, allocations: 19.92 kB / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.5e-05/0.3792, allocations: 39.84 kB / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3793, allocations: 15.98 kB / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.006e-05/0.3794, allocations: 19.92 kB / 1.059 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.3795, allocations: 23.91 kB / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.3796, allocations: 0 / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.3796, allocations: 7.938 kB / 1.059 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.3796, allocations: 0 / 1.059 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.3796, allocations: 33.7 kB / 1.059 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.71e-05/0.3797, allocations: 27.91 kB / 1.059 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3797, allocations: 8 kB / 1.059 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3797, allocations: 0 / 1.059 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.3797, allocations: 0 / 1.059 GB, free: 3.871 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005149/0.3802, allocations: 363.4 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3803, allocations: 12.03 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.3803, allocations: 0 / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.3805, allocations: 167.1 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.3805, allocations: 0 / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.3805, allocations: 7.953 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.3807, allocations: 73.66 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3807, allocations: 3.984 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3808, allocations: 0 / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3808, allocations: 0 / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.381, allocations: 59.95 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.3814, allocations: 300.6 kB / 1.06 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.3816, allocations: 66.53 kB / 1.06 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3817, allocations: 40.91 kB / 1.06 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.3818, allocations: 4.062 kB / 1.06 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.3818, allocations: 30.56 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.3818, allocations: 7.938 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004329/0.3822, allocations: 121.6 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.3823, allocations: 51.41 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.914e-05/0.3824, allocations: 109.8 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.3824, allocations: 25.7 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.3825, allocations: 92.08 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.3825, allocations: 7.906 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.3825, allocations: 0 / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3827, allocations: 326.8 kB / 1.061 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.489e-05/0.3828, allocations: 23.98 kB / 1.061 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-05/0.3829, allocations: 31.97 kB / 1.061 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.811e-05/0.383, allocations: 27.98 kB / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.383, allocations: 3.938 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002391/0.3832, allocations: 101.5 kB / 1.061 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3832, allocations: 5.719 kB / 1.061 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3833, allocations: 0 / 1.061 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3833, allocations: 4.328 kB / 1.061 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3834, allocations: 11.98 kB / 1.061 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3834, allocations: 0 / 1.061 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.17e-05/0.3835, allocations: 15.92 kB / 1.061 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.3835, allocations: 0 / 1.061 GB, free: 1.602 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: 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 0.000101/0.3836, allocations: 129.8 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.3837, allocations: 4 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.3837, allocations: 7.906 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.3837, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3837, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3837, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.3839, allocations: 181.5 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.384, allocations: 0 / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.671e-05/0.384, allocations: 19.92 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3841, allocations: 4 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.3841, allocations: 0 / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3841, allocations: 0 / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3841, allocations: 4 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.3844, allocations: 191.4 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.3844, allocations: 85.06 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.3845, allocations: 0 / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.878e-05/0.3846, allocations: 11.98 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.3846, allocations: 11.98 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.3846, allocations: 0 / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.244e-05/0.3847, allocations: 95.2 kB / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3847, allocations: 4 kB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002176/0.3849, allocations: 4 kB / 1.062 GB, free: 0.7656 MB / 0.8106 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.0001296/0.385, allocations: 103.2 kB / 1.062 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.3853, allocations: 67.94 kB / 1.062 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3853, allocations: 4 kB / 1.062 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.3854, allocations: 31.98 kB / 1.062 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.3857, allocations: 9.953 kB / 1.062 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.3861, allocations: 140.5 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.3865, allocations: 0.6809 MB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.693e-05/0.3865, allocations: 7.984 kB / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.3866, allocations: 11.44 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3866, allocations: 0 / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.002942/0.3895, allocations: 0.744 MB / 1.064 GB, free: 14.91 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches