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.006436/0.006436, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001233/0.001233, allocations: 192.2 kB / 16.67 MB, free: 5.973 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.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.661/2.661, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 64.12 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106/1.108, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002621/1.111, allocations: 0.711 MB / 1.167 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001302/1.112, allocations: 0.8453 MB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/1.112, allocations: 0 / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.274e-05/1.112, allocations: 0 / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/1.112, allocations: 11.94 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/1.112, allocations: 23.91 kB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/1.112, allocations: 51.83 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/1.113, allocations: 12 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.302e-05/1.113, allocations: 15.98 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.552e-05/1.113, allocations: 27.84 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/1.113, allocations: 4 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/1.113, allocations: 4 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/1.113, allocations: 15.98 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/1.113, allocations: 23.86 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/1.113, allocations: 39.86 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/1.113, allocations: 3.984 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.026e-06/1.113, allocations: 0 / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.498e-05/1.113, allocations: 0 / 1.168 GB, free: 2.023 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.0005967/1.114, allocations: 367.8 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/1.114, allocations: 12.03 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/1.114, allocations: 0.9375 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/1.114, allocations: 172.3 kB / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/1.114, allocations: 384 / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/1.114, allocations: 8.375 kB / 1.169 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/1.114, allocations: 65.59 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/1.114, allocations: 0 / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/1.114, allocations: 8 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/1.114, allocations: 0 / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/1.115, allocations: 59.88 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/1.115, allocations: 292.7 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/1.115, allocations: 66.56 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/1.115, allocations: 24.89 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/1.115, allocations: 0 / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/1.115, allocations: 38.5 kB / 1.169 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/1.115, allocations: 0 / 1.169 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004465/1.116, allocations: 113.7 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/1.116, allocations: 51.41 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/1.116, allocations: 109.8 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/1.116, allocations: 29.7 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/1.116, allocations: 92.03 kB / 1.17 GB, free: 356 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/1.116, allocations: 11.95 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/1.116, allocations: 17.7 kB / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.116, allocations: 318.8 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/1.117, allocations: 23.97 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.729e-05/1.117, allocations: 23.97 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/1.117, allocations: 60.75 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.117, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002452/1.117, allocations: 89.59 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.117, allocations: 4 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.117, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/1.117, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/1.117, allocations: 11.98 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.117, allocations: 4.312 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.608e-05/1.117, allocations: 11.98 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/1.117, allocations: 0 / 1.17 GB, free: 15.76 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 9.575e-05/1.118, allocations: 121.7 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/1.118, allocations: 0 / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/1.118, allocations: 11.89 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.118, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.118, allocations: 4 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.118, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/1.118, allocations: 173.6 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.118, allocations: 3.938 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.462e-05/1.118, allocations: 11.98 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/1.118, allocations: 3.984 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/1.118, allocations: 4 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.118, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.118, allocations: 3.984 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/1.118, allocations: 187.4 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/1.118, allocations: 77.11 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/1.118, allocations: 4 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.945e-05/1.119, allocations: 11.98 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/1.119, allocations: 15.92 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/1.119, allocations: 0 / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.095e-05/1.119, allocations: 83.28 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.119, allocations: 4 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002267/1.119, allocations: 15.89 kB / 1.171 GB, free: 14.93 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.0001651/1.119, allocations: 111.2 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002622/1.119, allocations: 47.95 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.119, allocations: 0 / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/1.119, allocations: 40.19 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/1.12, allocations: 14.17 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/1.12, allocations: 129.4 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/1.12, allocations: 0.6807 MB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.438e-05/1.121, allocations: 4.094 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/1.121, allocations: 19.42 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/1.121, allocations: 4 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of Templates: time 0.004014/1.125, allocations: 0.8813 MB / 1.173 GB, free: 12.96 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/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