Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 225.6 MB / 249.4 MB, free: 3.023 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.998/2.998, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 71.89 kB / 1.107 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201/1.203, allocations: 168.7 MB / 1.272 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002498/1.206, allocations: 0.8353 MB / 1.273 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00126/1.207, allocations: 0.8727 MB / 1.274 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/1.207, allocations: 5.594 kB / 1.274 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001594/1.207, allocations: 10.56 kB / 1.274 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.582e-05/1.207, allocations: 10.86 kB / 1.274 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/1.208, allocations: 27 kB / 1.274 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/1.208, allocations: 84.91 kB / 1.274 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/1.208, allocations: 18.86 kB / 1.274 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.551e-05/1.208, allocations: 34.92 kB / 1.274 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.522e-05/1.208, allocations: 28.06 kB / 1.274 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/1.208, allocations: 5.625 kB / 1.274 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/1.208, allocations: 5.781 kB / 1.274 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/1.208, allocations: 16.28 kB / 1.274 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.955e-05/1.208, allocations: 32.36 kB / 1.274 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/1.208, allocations: 80.39 kB / 1.274 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.208, allocations: 0 / 1.274 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.785e-06/1.208, allocations: 1.312 kB / 1.274 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.937e-06/1.208, allocations: 7.938 kB / 1.274 GB, free: 6.723 MB / 0.9981 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.0006171/1.209, allocations: 383.1 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/1.209, allocations: 11.27 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/1.209, allocations: 9.109 kB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/1.209, allocations: 204.4 kB / 1.275 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/1.209, allocations: 5.188 kB / 1.275 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/1.209, allocations: 6.719 kB / 1.275 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/1.21, allocations: 66.64 kB / 1.275 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/1.21, allocations: 192 / 1.275 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/1.21, allocations: 8.656 kB / 1.275 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/1.21, allocations: 1.062 kB / 1.275 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/1.21, allocations: 32.72 kB / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/1.21, allocations: 322.8 kB / 1.275 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/1.21, allocations: 47.02 kB / 1.275 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/1.211, allocations: 17.69 kB / 1.275 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/1.211, allocations: 5.391 kB / 1.275 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/1.211, allocations: 33.69 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/1.211, allocations: 4 kB / 1.275 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002709/1.211, allocations: 77.86 kB / 1.275 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/1.211, allocations: 53.7 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/1.211, allocations: 134.9 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/1.211, allocations: 26.48 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/1.211, allocations: 93.03 kB / 1.276 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/1.211, allocations: 6.641 kB / 1.276 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/1.211, allocations: 23.33 kB / 1.276 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.225e-05/1.211, allocations: 323.5 kB / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.503e-05/1.211, allocations: 13.94 kB / 1.276 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.359e-05/1.211, allocations: 20.7 kB / 1.276 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.11e-05/1.211, allocations: 24.3 kB / 1.276 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.211, allocations: 0.8438 kB / 1.276 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001361/1.212, allocations: 68.95 kB / 1.276 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.212, allocations: 9.125 kB / 1.276 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.212, allocations: 0 / 1.276 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/1.212, allocations: 1 kB / 1.276 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.979e-05/1.212, allocations: 7.594 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.964e-06/1.212, allocations: 5.438 kB / 1.276 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/1.212, allocations: 18.36 kB / 1.276 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/1.212, allocations: 8.906 kB / 1.276 GB, free: 4.871 MB / 0.9981 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 7.016e-05/1.212, allocations: 120.4 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/1.212, allocations: 6.406 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/1.212, allocations: 9.172 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/1.212, allocations: 1.125 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.212, allocations: 0 / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.212, allocations: 0.875 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/1.212, allocations: 186.2 kB / 1.276 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/1.212, allocations: 3.938 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/1.212, allocations: 4.5 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.212, allocations: 0.875 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/1.212, allocations: 5.453 kB / 1.276 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.212, allocations: 5.391 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.212, allocations: 0 / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/1.212, allocations: 159.7 kB / 1.277 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/1.212, allocations: 84.7 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/1.212, allocations: 1.562 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.972e-05/1.212, allocations: 9.531 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/1.212, allocations: 8.109 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/1.212, allocations: 9.062 kB / 1.277 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.965e-05/1.213, allocations: 100.8 kB / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.213, allocations: 0 / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002351/1.213, allocations: 23.36 kB / 1.277 GB, free: 4.172 MB / 0.9981 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.0001694/1.213, allocations: 99.38 kB / 1.277 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001876/1.213, allocations: 32.91 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/1.213, allocations: 0.7188 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.951e-05/1.213, allocations: 25.36 kB / 1.277 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/1.213, allocations: 6.438 kB / 1.277 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/1.214, allocations: 195.4 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/1.214, allocations: 0.689 MB / 1.278 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.277e-05/1.214, allocations: 10.86 kB / 1.278 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/1.214, allocations: 10.47 kB / 1.278 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.214, allocations: 1.25 kB / 1.278 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of Templates: time 0.003802/1.218, allocations: 0.8657 MB / 1.279 GB, free: 3.113 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.936629229225218]