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.00104/0.00104, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 181.2 kB / 16.92 MB, free: 6.918 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.768/2.768, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 19.7 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3216, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00107/0.3227, allocations: 435.5 kB / 1.06 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.3239, allocations: 0.8313 MB / 1.061 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.324, allocations: 0 / 1.061 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.324, allocations: 7.922 kB / 1.061 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.949e-05/0.3241, allocations: 0 / 1.061 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.3243, allocations: 27.92 kB / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.94e-05/0.3244, allocations: 43.84 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.3245, allocations: 19.98 kB / 1.061 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.873e-05/0.3246, allocations: 19.86 kB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.3247, allocations: 19.92 kB / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.3247, allocations: 0 / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.3248, allocations: 4 kB / 1.061 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.3248, allocations: 7.969 kB / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.37e-05/0.3248, allocations: 41.58 kB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.92e-05/0.3249, allocations: 31.92 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3249, allocations: 0 / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.325, allocations: 4 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.325, allocations: 0 / 1.061 GB, free: 3.453 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.0005819/0.3255, allocations: 359.6 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3256, allocations: 15.97 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.3256, allocations: 0.9375 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.3258, allocations: 172.3 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.3258, allocations: 384 / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.3259, allocations: 12.38 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.3261, allocations: 81.7 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3261, allocations: 0 / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3261, allocations: 0 / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3261, allocations: 0 / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.3264, allocations: 67.92 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.3269, allocations: 288.8 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.3271, allocations: 78.47 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.3272, allocations: 28.92 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.3272, allocations: 4 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.3273, allocations: 34.56 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.3273, allocations: 0 / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004472/0.3277, allocations: 125.5 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.3278, allocations: 55.34 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/0.3279, allocations: 117.8 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.3279, allocations: 25.7 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.328, allocations: 88.08 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.328, allocations: 11.81 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.328, allocations: 9.719 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3281, allocations: 326.8 kB / 1.063 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.3283, allocations: 23.98 kB / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.449e-05/0.3284, allocations: 31.97 kB / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.3286, allocations: 60.81 kB / 1.063 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3286, allocations: 4 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002643/0.3289, allocations: 97.58 kB / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3289, allocations: 11.94 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3289, allocations: 0 / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3289, allocations: 0 / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.329, allocations: 15.98 kB / 1.063 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.3291, allocations: 4 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.3291, allocations: 11.98 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.3292, allocations: 0 / 1.063 GB, free: 1.109 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 (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 8.805e-05/0.3293, allocations: 113.8 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.3293, allocations: 7.906 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.3293, allocations: 11.91 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.3293, allocations: 4 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3294, allocations: 4.328 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3294, allocations: 0 / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.3296, allocations: 181.6 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3296, allocations: 0 / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.149e-05/0.3297, allocations: 15.98 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.3297, allocations: 3.984 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.3297, allocations: 0 / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3297, allocations: 0 / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3297, allocations: 0 / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.33, allocations: 199.4 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.3301, allocations: 85 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.3301, allocations: 0 / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3302, allocations: 15.98 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.3303, allocations: 15.92 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.3303, allocations: 4 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.643e-05/0.3304, allocations: 83.28 kB / 1.064 GB, free: 288 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3304, allocations: 0 / 1.064 GB, free: 288 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002351/0.3306, allocations: 8 kB / 1.064 GB, free: 280 kB / 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 (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.0001382/0.3307, allocations: 103.2 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.331, allocations: 71.89 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.331, allocations: 0 / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.3312, allocations: 35.97 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.3315, allocations: 12 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.3319, allocations: 161.8 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3321, allocations: 0.6848 MB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.3322, allocations: 11.44 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.3322, allocations: 0 / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of Templates: time 0.002323/0.3345, allocations: 0.8157 MB / 1.065 GB, free: 14.32 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/jenkins1/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