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.00104/0.00104, allocations: 91.38 kB / 16.02 MB, free: 80 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.001519/0.001519, allocations: 181.2 kB / 16.92 MB, free: 6.652 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.492/1.492, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.697/2.697, allocations: 462.6 MB / 0.737 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003471, allocations: 14.25 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3357, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001138/0.3369, allocations: 439.5 kB / 1.06 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.3382, allocations: 0.8352 MB / 1.061 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.3383, allocations: 0 / 1.061 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.3383, allocations: 7.922 kB / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.107e-05/0.3384, allocations: 0 / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.3386, allocations: 19.98 kB / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.384e-05/0.3387, allocations: 47.86 kB / 1.061 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.3388, allocations: 15.97 kB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.21e-05/0.3389, allocations: 15.94 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.855e-05/0.339, allocations: 23.84 kB / 1.061 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.339, allocations: 4 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.339, allocations: 0 / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.3391, allocations: 4 kB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.3391, allocations: 53.55 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.67e-05/0.3392, allocations: 27.92 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3392, allocations: 0 / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3392, allocations: 0 / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.3392, allocations: 0 / 1.061 GB, free: 3.434 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.0006036/0.3399, allocations: 363.6 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.3399, allocations: 15.95 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.34, allocations: 4.938 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.3401, allocations: 168.3 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.3402, allocations: 4.375 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.3402, allocations: 384 / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.3405, allocations: 77.78 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3405, allocations: 7.922 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3405, allocations: 0 / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.3405, allocations: 4 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.3409, allocations: 67.92 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.3415, allocations: 288.8 kB / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.3418, allocations: 74.47 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.342, allocations: 32.92 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.342, allocations: 0 / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.342, allocations: 38.56 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.3421, allocations: 0 / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0006356/0.3427, allocations: 129.5 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.3428, allocations: 51.41 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3429, allocations: 109.8 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.3429, allocations: 25.7 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.343, allocations: 92.02 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.343, allocations: 11.81 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.3431, allocations: 13.72 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3432, allocations: 322.8 kB / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.3434, allocations: 27.98 kB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.3435, allocations: 31.97 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.3439, allocations: 64.81 kB / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3439, allocations: 0 / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003928/0.3443, allocations: 89.66 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3443, allocations: 7.984 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3443, allocations: 4 kB / 1.063 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3443, allocations: 0 / 1.063 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.3445, allocations: 19.92 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3445, allocations: 0 / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.3447, allocations: 11.98 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.3447, allocations: 0 / 1.063 GB, free: 1.094 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,intLesThr.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.0001065/0.3448, allocations: 117.8 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.3449, allocations: 11.91 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.3449, allocations: 3.906 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3449, allocations: 0 / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3449, allocations: 0 / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3449, allocations: 4.266 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.3452, allocations: 189.6 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3452, allocations: 0 / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.3454, allocations: 11.98 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3454, allocations: 0 / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.3454, allocations: 11.98 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3454, allocations: 4 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3454, allocations: 0 / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004397/0.3459, allocations: 191.4 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.346, allocations: 89.02 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.346, allocations: 3.984 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.3462, allocations: 8 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.3463, allocations: 15.92 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3463, allocations: 3.984 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.472e-05/0.3464, allocations: 91.58 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3464, allocations: 0 / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003987/0.3468, allocations: 4 kB / 1.064 GB, free: 256 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 (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 (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.0001818/0.347, allocations: 107.2 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003946/0.3474, allocations: 67.94 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.3474, allocations: 0 / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.3476, allocations: 39.91 kB / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.348, allocations: 4 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.3485, allocations: 162.7 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.3489, allocations: 0.6848 MB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/0.349, allocations: 15.42 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.349, allocations: 0 / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of Templates: time 0.002847/0.3518, allocations: 0.7993 MB / 1.065 GB, free: 14.31 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/jenkins1/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