Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_10_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_10_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.001373/0.001373, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.0014/0.0014, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.504/2.504, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 63.91 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7689/0.7707, allocations: 151.7 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001911/0.7727, allocations: 0.7075 MB / 1.168 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009727/0.7737, allocations: 0.8492 MB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.7737, allocations: 0 / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.7737, allocations: 3.938 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.355e-05/0.7738, allocations: 3.938 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.774, allocations: 19.98 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.339e-05/0.7741, allocations: 47.91 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.7742, allocations: 19.97 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.708e-05/0.7743, allocations: 15.92 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.7743, allocations: 23.92 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.7744, allocations: 7.938 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.7744, allocations: 4 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.7744, allocations: 15.92 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.7744, allocations: 15.92 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.325e-05/0.7745, allocations: 59.73 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7745, allocations: 0 / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7746, allocations: 0 / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.7746, allocations: 0 / 1.169 GB, free: 2.035 MB / 0.8887 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.0005194/0.7751, allocations: 355.2 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.7751, allocations: 8.031 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.7752, allocations: 8.844 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.7753, allocations: 172.4 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.7753, allocations: 4.375 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.7754, allocations: 384 / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.7756, allocations: 73.58 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.7756, allocations: 0 / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.7756, allocations: 4 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.7756, allocations: 4 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.7758, allocations: 47.89 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.7762, allocations: 298.5 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.7764, allocations: 58.55 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.7766, allocations: 32.91 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.7766, allocations: 3.938 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.7766, allocations: 34.56 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.7766, allocations: 0 / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0003916/0.777, allocations: 105.6 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.7771, allocations: 51.41 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.673e-05/0.7771, allocations: 109.8 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.7772, allocations: 29.7 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.7772, allocations: 96.03 kB / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.7772, allocations: 7.844 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.7773, allocations: 21.72 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.7774, allocations: 322.8 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.7775, allocations: 20.03 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.441e-05/0.7776, allocations: 27.86 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.7778, allocations: 53.09 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7778, allocations: 4 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002293/0.7781, allocations: 89.53 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.7781, allocations: 8 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.7781, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7781, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.7782, allocations: 11.98 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.7783, allocations: 3.938 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.961e-05/0.7783, allocations: 11.98 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.7784, allocations: 11.94 kB / 1.171 GB, free: 15.77 MB / 0.9044 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 7.687e-05/0.7784, allocations: 113.8 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.7785, allocations: 4 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.7785, allocations: 3.906 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.7785, allocations: 0 / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.7785, allocations: 0 / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.7785, allocations: 0 / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.7787, allocations: 185.6 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7787, allocations: 4 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.168e-05/0.7788, allocations: 11.98 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7788, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.7788, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7788, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7789, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.7792, allocations: 195.3 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.7792, allocations: 81.09 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.7792, allocations: 3.938 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.7793, allocations: 7.984 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.7794, allocations: 8 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.7794, allocations: 7.984 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.335e-05/0.7795, allocations: 83.28 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7795, allocations: 0 / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002226/0.7797, allocations: 11.94 kB / 1.172 GB, free: 14.96 MB / 0.9044 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.000119/0.7798, allocations: 103.2 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002598/0.7801, allocations: 55.94 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7801, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.7802, allocations: 35.91 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.7805, allocations: 4 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.7809, allocations: 163 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.7812, allocations: 0.6846 MB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.7812, allocations: 11.44 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/0.7812, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.002501/0.7837, allocations: 0.8224 MB / 1.174 GB, free: 13.03 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches