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.0008116/0.0008116, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008323/0.0008323, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9001/0.9001, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.757/1.757, allocations: 377.8 MB / 0.6228 GB, free: 8.688 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 3.938 kB / 0.9823 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.451e-05, allocations: 4.953 kB / 0.9823 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001286/0.00131, allocations: 0.7961 MB / 0.9831 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008601/0.00217, allocations: 0.9171 MB / 0.9839 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.443e-05/0.002245, allocations: 0 / 0.9839 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.002362, allocations: 15.81 kB / 0.984 GB, free: 292 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.001e-05/0.002392, allocations: 11.86 kB / 0.984 GB, free: 280 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.002594, allocations: 31.91 kB / 0.984 GB, free: 248 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.002702, allocations: 71.78 kB / 0.9841 GB, free: 176 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.002827, allocations: 23.97 kB / 0.9841 GB, free: 152 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.002953, allocations: 47.78 kB / 0.9841 GB, free: 104 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.003014, allocations: 27.95 kB / 0.9842 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.00303, allocations: 8 kB / 0.9842 GB, free: 68 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.595e-05/0.003066, allocations: 11.94 kB / 0.9842 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.003078, allocations: 11.94 kB / 0.9842 GB, free: 44 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.003103, allocations: 19.92 kB / 0.9842 GB, free: 24 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.003236, allocations: 83.72 kB / 0.9843 GB, free: 15.94 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.00324, allocations: 4 kB / 0.9843 GB, free: 15.94 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.61e-07/0.00324, allocations: 0 / 0.9843 GB, free: 15.94 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.003245, allocations: 0 / 0.9843 GB, free: 15.94 MB / 0.948 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.0004035/0.003648, allocations: 313.9 kB / 0.9846 GB, free: 15.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.003682, allocations: 16.03 kB / 0.9846 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.003792, allocations: 16.88 kB / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.003969, allocations: 141.6 kB / 0.9848 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.003981, allocations: 4.375 kB / 0.9848 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.003991, allocations: 8.359 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.004104, allocations: 70.11 kB / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.004113, allocations: 192 / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.004123, allocations: 384 / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.004127, allocations: 4.375 kB / 0.9848 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.406e-05/0.004201, allocations: 43.84 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.004521, allocations: 248.5 kB / 0.9851 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.004622, allocations: 42.56 kB / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.004654, allocations: 24.94 kB / 0.9852 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.004668, allocations: 0 / 0.9852 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.004688, allocations: 38.59 kB / 0.9852 GB, free: 14.87 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.004689, allocations: 0 / 0.9852 GB, free: 14.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001747/0.004864, allocations: 73.62 kB / 0.9853 GB, free: 14.79 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.004891, allocations: 51.41 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.967e-05/0.004971, allocations: 144.9 kB / 0.9855 GB, free: 14.58 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.004983, allocations: 29.7 kB / 0.9855 GB, free: 14.55 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.005028, allocations: 96.12 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.005042, allocations: 7.891 kB / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.005071, allocations: 21.7 kB / 0.9856 GB, free: 14.41 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.00515, allocations: 318.8 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.005184, allocations: 19.98 kB / 0.986 GB, free: 14.07 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.52e-05/0.005209, allocations: 15.98 kB / 0.986 GB, free: 14.06 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.055e-05/0.005259, allocations: 28.78 kB / 0.986 GB, free: 14.03 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005261, allocations: 0 / 0.986 GB, free: 14.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.99e-05/0.005341, allocations: 69.58 kB / 0.9861 GB, free: 13.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.005353, allocations: 4 kB / 0.9861 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.00536, allocations: 0 / 0.9861 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.005372, allocations: 3.984 kB / 0.9861 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.521e-05/0.005417, allocations: 4 kB / 0.9861 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.005422, allocations: 4 kB / 0.9861 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.329e-05/0.005455, allocations: 11.98 kB / 0.9861 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.00546, allocations: 0 / 0.9861 GB, free: 13.93 MB / 0.948 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 5.925e-05/0.005519, allocations: 117.8 kB / 0.9862 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.005535, allocations: 11.89 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.00556, allocations: 16.33 kB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.005561, allocations: 0 / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.005565, allocations: 0 / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.005568, allocations: 4.266 kB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.397e-05/0.005662, allocations: 129.3 kB / 0.9864 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.005663, allocations: 3.984 kB / 0.9864 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.635e-05/0.00568, allocations: 7.938 kB / 0.9864 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.005682, allocations: 3.984 kB / 0.9864 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-06/0.005688, allocations: 0 / 0.9864 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.005688, allocations: 0 / 0.9864 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.005689, allocations: 0 / 0.9864 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.005789, allocations: 155.5 kB / 0.9865 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.005801, allocations: 11.89 kB / 0.9865 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.005815, allocations: 7.938 kB / 0.9865 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.728e-05/0.005862, allocations: 11.98 kB / 0.9866 GB, free: 13.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.005907, allocations: 15.91 kB / 0.9866 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.005909, allocations: 0 / 0.9866 GB, free: 13.38 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.619e-05/0.005956, allocations: 103.3 kB / 0.9867 GB, free: 13.28 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005956, allocations: 0 / 0.9867 GB, free: 13.28 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001513/0.006107, allocations: 12 kB / 0.9867 GB, free: 13.27 MB / 0.948 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 7.307e-05/0.00618, allocations: 95.78 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.006281, allocations: 35.97 kB / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.006283, allocations: 0 / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.782e-05/0.006311, allocations: 16 kB / 0.9868 GB, free: 13.11 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.006487, allocations: 11.92 kB / 0.9868 GB, free: 13.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.006765, allocations: 190.4 kB / 0.987 GB, free: 12.88 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.733e-05/0.006812, allocations: 71.58 kB / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.006843, allocations: 16.5 kB / 0.9871 GB, free: 12.78 MB / 0.948 GB Notification: Performance of SimCode: time 3.51e-07/0.006844, allocations: 0 / 0.9871 GB, free: 12.78 MB / 0.948 GB Notification: Performance of Templates: time 0.001672/0.008515, allocations: 1.004 MB / 0.9881 GB, free: 11.78 MB / 0.948 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 6.664018532261252]