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.00202/0.00202, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002347/0.002347, allocations: 191.7 kB / 16.25 MB, free: 6.645 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.559/1.559, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.894/2.894, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002919/0.002919, allocations: 63.91 kB / 0.8688 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8105/0.8135, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002487/0.816, allocations: 0.8776 MB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.8173, allocations: 0.8702 MB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.8175, allocations: 4 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.8176, allocations: 11.88 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.869e-05/0.8177, allocations: 7.922 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.8179, allocations: 23.92 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.8181, allocations: 71.78 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.8182, allocations: 35.97 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.319e-05/0.8183, allocations: 39.84 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.241e-05/0.8184, allocations: 23.86 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.8184, allocations: 4 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.662e-05/0.8184, allocations: 8 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.8185, allocations: 15.92 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.8185, allocations: 35.73 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.8187, allocations: 73.72 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.8187, allocations: 0 / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8187, allocations: 0 / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.8187, allocations: 3.984 kB / 1.019 GB, free: 0.6211 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006341/0.8193, allocations: 395.1 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.8194, allocations: 8.031 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.8194, allocations: 8.844 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.8197, allocations: 208.1 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.8197, allocations: 4.375 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.8197, allocations: 8.375 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.8199, allocations: 58.23 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.8199, allocations: 4.125 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.8199, allocations: 7.938 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.8199, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.8201, allocations: 31.98 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.8206, allocations: 324.6 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.8208, allocations: 46.5 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.8208, allocations: 21 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.8208, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.8209, allocations: 30.56 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.8209, allocations: 4 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002569/0.8212, allocations: 73.61 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.8212, allocations: 51.41 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.8213, allocations: 136.3 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.8214, allocations: 29.69 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.8215, allocations: 104 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.8215, allocations: 3.906 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.8215, allocations: 21.7 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.8217, allocations: 318.8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.8218, allocations: 15.98 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.684e-05/0.8218, allocations: 19.98 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.305e-05/0.8219, allocations: 24.84 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.8219, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001528/0.8221, allocations: 69.53 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.8221, allocations: 7.984 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.8221, allocations: 7.938 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.8221, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.8222, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.8222, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.547e-05/0.8223, allocations: 15.92 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.8223, allocations: 0 / 1.021 GB, free: 14.37 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.595e-05/0.8224, allocations: 122.6 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.8224, allocations: 7.906 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.8225, allocations: 12.23 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.8225, allocations: 336 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.8225, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.8225, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.8227, allocations: 181.6 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.8227, allocations: 3.984 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.176e-05/0.8228, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.8228, allocations: 7.938 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.8228, allocations: 3.984 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8228, allocations: 3.938 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8228, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.823, allocations: 155.5 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.823, allocations: 85.02 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.8231, allocations: 4 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.912e-05/0.8232, allocations: 15.98 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.8232, allocations: 7.984 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.8232, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.816e-05/0.8233, allocations: 100.5 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8233, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002175/0.8236, allocations: 15.84 kB / 1.022 GB, free: 13.55 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.0001514/0.8237, allocations: 111.2 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.8239, allocations: 39.92 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8239, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.974e-05/0.824, allocations: 19.98 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.8243, allocations: 4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.8247, allocations: 194.6 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.825, allocations: 0.6885 MB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.382e-05/0.825, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.8251, allocations: 15.42 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.8251, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of Templates: time 0.003536/0.8286, allocations: 0.7645 MB / 1.023 GB, free: 11.66 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