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.001642/0.001642, 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.001944/0.001944, allocations: 199.7 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.714/2.714, allocations: 437 MB / 0.7103 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.89 kB / 0.8692 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7738, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002452/0.7763, allocations: 0.8206 MB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.7775, allocations: 0.878 MB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.7777, allocations: 0 / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.7778, allocations: 11.88 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.344e-05/0.7779, allocations: 11.81 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.7781, allocations: 39.89 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.7782, allocations: 67.84 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.7784, allocations: 31.97 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.963e-05/0.7785, allocations: 35.8 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.765e-05/0.7786, allocations: 35.84 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.7786, allocations: 4 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.641e-05/0.7786, allocations: 4 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.7787, allocations: 15.92 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.7787, allocations: 31.8 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.7789, allocations: 77.66 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7789, allocations: 0 / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7789, allocations: 0 / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.7789, allocations: 0 / 1.019 GB, free: 392 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.0006439/0.7795, allocations: 391.1 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.7796, allocations: 12.03 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.7796, allocations: 8.844 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.7799, allocations: 196 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.7799, allocations: 8.375 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.7799, allocations: 4.375 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.7801, allocations: 62.22 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7801, allocations: 192 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.7801, allocations: 11.94 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.7801, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.7802, allocations: 39.91 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.7807, allocations: 320.6 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.7809, allocations: 54.59 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.401e-05/0.781, allocations: 21 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.781, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.781, allocations: 30.56 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.781, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002694/0.7813, allocations: 77.58 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.7814, allocations: 51.41 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.7815, allocations: 131.2 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.7815, allocations: 37.64 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.7816, allocations: 100 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.7816, allocations: 3.906 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.7817, allocations: 21.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7818, allocations: 318.8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.417e-05/0.7818, allocations: 19.98 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-05/0.7819, allocations: 19.98 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.345e-05/0.782, allocations: 24.84 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.782, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001377/0.7821, allocations: 65.59 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.7822, allocations: 5.719 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.7822, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.7822, allocations: 7.922 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.739e-05/0.7823, allocations: 11.94 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.7823, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.845e-05/0.7824, allocations: 15.92 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.7824, allocations: 0 / 1.021 GB, free: 14.13 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 9.667e-05/0.7825, allocations: 117.8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.7825, allocations: 7.906 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.7826, allocations: 12.23 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.7826, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7826, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7826, allocations: 4 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.7828, allocations: 185.6 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.7828, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.7828, allocations: 4 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.7828, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.7829, allocations: 3.938 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7829, allocations: 3.984 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7829, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.7831, allocations: 163.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.7831, allocations: 89.05 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.7832, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/0.7833, allocations: 7.984 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.7833, allocations: 7.984 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.7833, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.644e-05/0.7834, allocations: 99.27 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7834, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002252/0.7837, allocations: 15.84 kB / 1.022 GB, free: 13.31 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.0001567/0.7838, allocations: 103.2 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.784, allocations: 39.91 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.784, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.064e-05/0.7841, allocations: 19.98 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.7844, allocations: 14.03 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.7848, allocations: 162.7 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.7852, allocations: 0.6924 MB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.991e-05/0.7852, allocations: 4 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.7853, allocations: 11.42 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7853, allocations: 4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of Templates: time 0.003367/0.7886, allocations: 0.8456 MB / 1.024 GB, free: 11.36 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