Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 78.72 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 161.9 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 177.2 MB / 203.4 MB, free: 8.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.787/2.787, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 67.89 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8834/0.8856, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001767/0.8874, allocations: 0.7866 MB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.8882, allocations: 0.9052 MB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.777e-05/0.8883, allocations: 6.781 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.8884, allocations: 22.36 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.313e-05/0.8884, allocations: 7.875 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.8886, allocations: 31.72 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.8888, allocations: 81.67 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.8889, allocations: 22.16 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.889, allocations: 35.02 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.131e-05/0.889, allocations: 27.97 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.889, allocations: 5.188 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.947e-05/0.8891, allocations: 12.09 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.8891, allocations: 17.86 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.8891, allocations: 21.22 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.8893, allocations: 90.78 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8893, allocations: 0 / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8893, allocations: 0 / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.8893, allocations: 2.375 kB / 1.156 GB, free: 31.96 MB / 1.076 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.0004446/0.8897, allocations: 308.7 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.8897, allocations: 8.594 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.8899, allocations: 27.64 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.8901, allocations: 153.8 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.8901, allocations: 3.219 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.8902, allocations: 3.688 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.8903, allocations: 65.69 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.8903, allocations: 192 / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.8903, allocations: 3.938 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.8903, allocations: 0 / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.759e-05/0.8904, allocations: 38.72 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.8908, allocations: 253.8 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.8909, allocations: 45.02 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.677e-05/0.891, allocations: 17.64 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.891, allocations: 2.875 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.891, allocations: 34.59 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.891, allocations: 4 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.000241/0.8913, allocations: 77.48 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.8913, allocations: 51.41 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.099e-05/0.8914, allocations: 132.5 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.8914, allocations: 29.64 kB / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.8914, allocations: 101 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.8914, allocations: 11.83 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.8915, allocations: 22.78 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.8915, allocations: 322.2 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.934e-05/0.8916, allocations: 12.72 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.982e-05/0.8916, allocations: 19.47 kB / 1.158 GB, free: 30.42 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.576e-05/0.8917, allocations: 30.61 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8917, allocations: 0 / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001204/0.8918, allocations: 70.38 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.8918, allocations: 5.594 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.8918, allocations: 3 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.8918, allocations: 0 / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.8919, allocations: 2.812 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.8919, allocations: 4 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.605e-05/0.892, allocations: 12.91 kB / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.892, allocations: 5.891 kB / 1.158 GB, free: 30.35 MB / 1.076 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 6.077e-05/0.8921, allocations: 117.2 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.8921, allocations: 10.7 kB / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.8921, allocations: 11.45 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.8921, allocations: 0 / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.8921, allocations: 3.062 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.8921, allocations: 3.984 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.8922, allocations: 125.5 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.8922, allocations: 4 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.8923, allocations: 2.5 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.8923, allocations: 2.75 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.8923, allocations: 0 / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.8923, allocations: 6.953 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8923, allocations: 0 / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.8924, allocations: 159 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.8925, allocations: 6.453 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.8925, allocations: 2.656 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.8926, allocations: 15.88 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.8926, allocations: 10 kB / 1.158 GB, free: 29.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.8926, allocations: 3.938 kB / 1.158 GB, free: 29.9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.8927, allocations: 107.3 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8927, allocations: 2.469 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002284/0.8929, allocations: 5.156 kB / 1.158 GB, free: 29.81 MB / 1.076 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.0001001/0.893, allocations: 95.53 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.8932, allocations: 34.19 kB / 1.158 GB, free: 29.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8932, allocations: 4 kB / 1.158 GB, free: 29.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.074e-05/0.8932, allocations: 18.58 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.8935, allocations: 18.59 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.8938, allocations: 171.5 kB / 1.159 GB, free: 29.55 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.308e-05/0.8939, allocations: 73.22 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.8939, allocations: 6.562 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.8939, allocations: 14.58 kB / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.8939, allocations: 0 / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of Templates: time 0.004597/0.8985, allocations: 0.8992 MB / 1.16 GB, free: 29.36 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.879366434062831]