Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001129, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001475/0.001475, allocations: 168.7 kB / 15.95 MB, free: 204 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.641/1.641, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.777/2.777, allocations: 437.7 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 12 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7776/0.778, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001457/0.7795, allocations: 0.5213 MB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.7811, allocations: 0.8624 MB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.7813, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.7815, allocations: 15.86 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.052e-05/0.7815, allocations: 7.938 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.7818, allocations: 11.98 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.7819, allocations: 67.78 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.7821, allocations: 23.97 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.7822, allocations: 31.84 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.7824, allocations: 15.86 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.7824, allocations: 4 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.7824, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.7824, allocations: 15.92 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.7825, allocations: 33.7 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.7826, allocations: 51.86 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.7826, allocations: 0 / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7826, allocations: 4 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.7827, allocations: 4 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006749/0.7833, allocations: 392.9 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.7834, allocations: 8.031 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.7835, allocations: 7.906 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.7838, allocations: 206.9 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.7838, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.7838, allocations: 8 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.784, allocations: 61.62 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.784, allocations: 3.984 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.7841, allocations: 7.938 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.7841, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.7842, allocations: 43.91 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006431/0.7849, allocations: 324.7 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.785, allocations: 62.58 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/0.7851, allocations: 16.92 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.7851, allocations: 4 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.7852, allocations: 30.56 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.7852, allocations: 4 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002879/0.7855, allocations: 77.75 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.7855, allocations: 55.34 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.7857, allocations: 135.8 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.7857, allocations: 25.7 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.7858, allocations: 92.14 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.7858, allocations: 19.89 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.7858, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.786, allocations: 318.8 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.786, allocations: 19.98 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.591e-05/0.7861, allocations: 15.98 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.736e-05/0.7861, allocations: 8 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7862, allocations: 4 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001543/0.7863, allocations: 73.58 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.7863, allocations: 4 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.7864, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.7864, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.671e-05/0.7865, allocations: 15.94 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.7865, allocations: 0 / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-05/0.7866, allocations: 15.98 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.7866, allocations: 3.938 kB / 1.026 GB, free: 12.12 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: 3 (les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.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 0.000107/0.7867, allocations: 125.8 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.7867, allocations: 7.906 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.7868, allocations: 12.25 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.7868, allocations: 0 / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.7868, allocations: 0 / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.7868, allocations: 0 / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.787, allocations: 189.5 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.787, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.7871, allocations: 7.984 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.7871, allocations: 4 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.7871, allocations: 0 / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7871, allocations: 0 / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7871, allocations: 3.938 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.7873, allocations: 175.6 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.7874, allocations: 81.02 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.7874, allocations: 4 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-05/0.7875, allocations: 15.98 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.7876, allocations: 11.97 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.7876, allocations: 4 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.406e-05/0.7876, allocations: 100.8 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7877, allocations: 4 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002256/0.7879, allocations: 12 kB / 1.027 GB, free: 11.29 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001595/0.7881, allocations: 101.5 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.7882, allocations: 35.97 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7882, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.969e-05/0.7883, allocations: 23.94 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.7886, allocations: 11.98 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.7891, allocations: 191.9 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.7894, allocations: 0.6926 MB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.495e-05/0.7894, allocations: 4.188 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.7895, allocations: 15.42 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7895, allocations: 0 / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of Templates: time 0.003453/0.793, allocations: 0.6911 MB / 1.028 GB, free: 9.469 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches