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.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.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.00209/0.002091, allocations: 108 kB / 15.6 MB, free: 132 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.002606/0.002606, allocations: 195.5 kB / 16.54 MB, free: 6.672 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.536/1.536, allocations: 222.9 MB / 240.2 MB, free: 4.41 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 2.753/2.753, allocations: 437 MB / 0.7104 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 67.89 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6899/0.6921, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002429/0.6946, allocations: 0.8225 MB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.6958, allocations: 0.8702 MB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.913e-05/0.6959, allocations: 3.938 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.6961, allocations: 19.8 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.1e-05/0.6962, allocations: 11.86 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.6963, allocations: 35.91 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.6965, allocations: 67.84 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.6966, allocations: 27.98 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.007e-05/0.6967, allocations: 35.84 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/0.6968, allocations: 35.78 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.6968, allocations: 4 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.6969, allocations: 8 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.6969, allocations: 15.94 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.697, allocations: 27.8 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.6972, allocations: 81.7 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6972, allocations: 0 / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6972, allocations: 0 / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.6972, allocations: 0 / 1.019 GB, free: 448 kB / 0.7637 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.0006418/0.6978, allocations: 383.6 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.6979, allocations: 16.08 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.6979, allocations: 8.844 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.6982, allocations: 205.5 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.6982, allocations: 384 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.6983, allocations: 4.375 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.6985, allocations: 66.17 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.6985, allocations: 192 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.6985, allocations: 3.938 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.6985, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.6986, allocations: 43.91 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005985/0.6992, allocations: 316.6 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.6995, allocations: 50.55 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.138e-05/0.6996, allocations: 16.92 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.6996, allocations: 96 / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.6996, allocations: 38.5 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.6996, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003429/0.7, allocations: 77.66 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.7, allocations: 51.41 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.7002, allocations: 135.7 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.7002, allocations: 33.64 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.7003, allocations: 100 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.7003, allocations: 7.906 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.7004, allocations: 13.72 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.7005, allocations: 322.8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-05/0.7006, allocations: 12 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-05/0.7006, allocations: 23.92 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.299e-05/0.7007, allocations: 32.84 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7007, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001461/0.7009, allocations: 69.91 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.7009, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.7009, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.7009, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.701, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.701, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.822e-05/0.7011, allocations: 19.92 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.7011, allocations: 3.984 kB / 1.021 GB, free: 14.19 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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.0001107/0.7013, allocations: 125.7 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.7013, allocations: 7.906 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.7013, allocations: 8.25 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7013, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7013, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.7014, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.7016, allocations: 189.6 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7016, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-05/0.7016, allocations: 7.984 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7016, allocations: 3.938 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.7017, allocations: 4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7017, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7017, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.7019, allocations: 155.5 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.7019, allocations: 89.02 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.702, allocations: 3.938 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.7021, allocations: 11.98 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.7022, allocations: 7.984 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.7022, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.353e-05/0.7023, allocations: 104.3 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7023, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002425/0.7025, allocations: 15.84 kB / 1.022 GB, free: 13.37 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 (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.0001888/0.7027, allocations: 104.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001786/0.7029, allocations: 31.98 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7029, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.246e-05/0.703, allocations: 27.86 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.7033, allocations: 8 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.7038, allocations: 166.7 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.7042, allocations: 0.6901 MB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.464e-05/0.7042, allocations: 11.98 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.7043, allocations: 11.44 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7043, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of Templates: time 0.003902/0.7082, allocations: 0.8393 MB / 1.024 GB, free: 11.43 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=400 -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