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.001352/0.001352, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001434/0.001434, allocations: 195.5 kB / 16.14 MB, free: 6.629 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.552/1.552, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.174/3.174, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 59.91 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8289/0.8309, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002551/0.8335, allocations: 0.7735 MB / 1.017 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.8348, allocations: 0.8312 MB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.8349, allocations: 0 / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.8349, allocations: 0 / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.8351, allocations: 7.922 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.8352, allocations: 23.97 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.013e-05/0.8353, allocations: 47.86 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.8355, allocations: 15.98 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.317e-05/0.8355, allocations: 12 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.335e-05/0.8356, allocations: 31.83 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.8357, allocations: 4 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.8357, allocations: 0 / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.8357, allocations: 11.98 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.8357, allocations: 15.88 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.8359, allocations: 43.84 kB / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8359, allocations: 0 / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8359, allocations: 0 / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.8359, allocations: 0 / 1.018 GB, free: 0.9609 MB / 0.7637 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.000666/0.8366, allocations: 369.3 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.8366, allocations: 15.91 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.8367, allocations: 4.938 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.8369, allocations: 168.3 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.8369, allocations: 4.375 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.8369, allocations: 384 / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.8371, allocations: 73.78 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.8371, allocations: 0 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.8372, allocations: 4 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.8372, allocations: 0 / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.8374, allocations: 51.94 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/0.8382, allocations: 296.7 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.8384, allocations: 62.55 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.8385, allocations: 32.91 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.8385, allocations: 0 / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.8386, allocations: 30.56 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.946e-06/0.8386, allocations: 0 / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004887/0.8391, allocations: 117.5 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.8392, allocations: 55.34 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.8393, allocations: 105.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.8393, allocations: 33.7 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.8394, allocations: 80.14 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.8394, allocations: 19.73 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.8394, allocations: 13.72 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.8396, allocations: 330.8 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.8397, allocations: 19.98 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.419e-05/0.8398, allocations: 23.97 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.84, allocations: 52.75 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.84, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002446/0.8403, allocations: 85.66 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.8403, allocations: 8 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.8403, allocations: 0 / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.8403, allocations: 0 / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.8405, allocations: 15.98 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.8405, allocations: 3.984 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.8406, allocations: 4 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.8406, allocations: 3.984 kB / 1.02 GB, free: 14.7 MB / 0.7794 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.0001132/0.8407, allocations: 121.8 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.8407, allocations: 7.906 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.8408, allocations: 11.84 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.8408, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.8408, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.8408, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.841, allocations: 181.5 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.841, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.027e-05/0.8411, allocations: 11.98 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.8411, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.8412, allocations: 4.328 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.8412, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8412, allocations: 320 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.8415, allocations: 187.4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.8416, allocations: 84.95 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.8416, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.8417, allocations: 19.98 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.8418, allocations: 7.984 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.8418, allocations: 11.92 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.219e-05/0.8419, allocations: 87.27 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8419, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002177/0.8421, allocations: 8 kB / 1.021 GB, free: 13.87 MB / 0.7794 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.0001631/0.8423, allocations: 103.7 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.8425, allocations: 59.94 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8426, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.8427, allocations: 31.97 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.843, allocations: 7.938 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.8434, allocations: 143.2 kB / 1.021 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.8438, allocations: 0.6848 MB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.841e-05/0.8439, allocations: 4 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.8439, allocations: 7.438 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.8439, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of Templates: time 0.003582/0.8475, allocations: 0.7776 MB / 1.023 GB, free: 12 MB / 0.7794 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=400 -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/jenkins/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