Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009919/0.0009918, allocations: 91.06 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.001123/0.001123, 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.481/1.481, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.889/2.889, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004337, allocations: 14.59 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3742, allocations: 159.6 MB / 1.058 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001222/0.3755, allocations: 419.7 kB / 1.058 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.3766, allocations: 0.8235 MB / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.3767, allocations: 0 / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.3767, allocations: 7.922 kB / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.3769, allocations: 0 / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.3771, allocations: 27.97 kB / 1.059 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.274e-05/0.3772, allocations: 43.8 kB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.3773, allocations: 7.984 kB / 1.059 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.161e-05/0.3774, allocations: 15.98 kB / 1.059 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.716e-05/0.3775, allocations: 27.84 kB / 1.059 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.3775, allocations: 0 / 1.059 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.551e-05/0.3775, allocations: 4 kB / 1.059 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.3776, allocations: 7.984 kB / 1.059 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.3776, allocations: 29.7 kB / 1.059 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.501e-05/0.3777, allocations: 27.94 kB / 1.059 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3777, allocations: 0 / 1.059 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3777, allocations: 0 / 1.059 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3777, allocations: 0 / 1.059 GB, free: 3.809 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.0006463/0.3784, allocations: 363.4 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.3784, allocations: 11.97 kB / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.3785, allocations: 4 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.3787, allocations: 171 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.3787, allocations: 4 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.3787, allocations: 11.95 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.379, allocations: 65.66 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.379, allocations: 0 / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.379, allocations: 3.938 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.379, allocations: 4 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.3792, allocations: 59.95 kB / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.3798, allocations: 300.6 kB / 1.06 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.38, allocations: 70.53 kB / 1.06 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.3801, allocations: 36.91 kB / 1.06 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.3801, allocations: 0 / 1.06 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.3801, allocations: 38.56 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.42e-05/0.3802, allocations: 0 / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003974/0.3806, allocations: 121.6 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.3806, allocations: 55.41 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3807, allocations: 113.8 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.3807, allocations: 25.7 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.3808, allocations: 92.06 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.3808, allocations: 7.906 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.3808, allocations: 0 / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.381, allocations: 318.8 kB / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.3811, allocations: 35.97 kB / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.12e-05/0.3812, allocations: 23.98 kB / 1.061 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.827e-05/0.3813, allocations: 31.97 kB / 1.061 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3813, allocations: 0 / 1.061 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002223/0.3815, allocations: 97.5 kB / 1.061 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3815, allocations: 5.719 kB / 1.061 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3815, allocations: 3.984 kB / 1.061 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3815, allocations: 0 / 1.061 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3817, allocations: 15.98 kB / 1.061 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3817, allocations: 4 kB / 1.061 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.941e-05/0.3818, allocations: 12 kB / 1.061 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3818, allocations: 3.984 kB / 1.061 GB, free: 1.523 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 (intLesThr.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 8.493e-05/0.3819, allocations: 113.8 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.3819, allocations: 0 / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.3819, allocations: 11.91 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3819, allocations: 0 / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3819, allocations: 4 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3819, allocations: 0 / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.3821, allocations: 185.6 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3821, allocations: 0 / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.199e-05/0.3822, allocations: 15.92 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3822, allocations: 0 / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3823, allocations: 8 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.3823, allocations: 0 / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3823, allocations: 0 / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.3826, allocations: 195.3 kB / 1.062 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.3826, allocations: 85.06 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.3826, allocations: 7.984 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.715e-05/0.3827, allocations: 12.38 kB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.3828, allocations: 11.98 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.3828, allocations: 3.984 kB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.834e-05/0.3829, allocations: 79.28 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3829, allocations: 3.938 kB / 1.062 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002174/0.3831, allocations: 12 kB / 1.062 GB, free: 0.6914 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 (intLesThr.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.0001805/0.3833, allocations: 103.2 kB / 1.062 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.3836, allocations: 67.94 kB / 1.062 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3836, allocations: 4 kB / 1.062 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.3837, allocations: 35.97 kB / 1.062 GB, free: 488 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.3841, allocations: 8 kB / 1.062 GB, free: 480 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.3845, allocations: 140.5 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.385, allocations: 0.6809 MB / 1.063 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.72e-05/0.385, allocations: 8 kB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.3851, allocations: 11.44 kB / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3851, allocations: 0 / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of Templates: time 0.003309/0.3884, allocations: 0.7356 MB / 1.064 GB, free: 14.85 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches