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.001145/0.001145, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.002204, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000726/0.000726, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008904/0.001616, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9496/0.9496, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1192/1.069, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.884/1.884, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5867/2.471, allocations: 123.3 MB / 0.728 GB, free: 5.797 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.714e-06/1.714e-06, allocations: 3.938 kB / 0.7294 GB, free: 4.426 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.32e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.422 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001626/0.001649, allocations: 0.8634 MB / 0.7302 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008638/0.002513, allocations: 0.9299 MB / 0.7312 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.095e-05/0.002604, allocations: 4.766 kB / 0.7312 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.601e-05/0.00268, allocations: 16.84 kB / 0.7312 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.383e-05/0.002713, allocations: 7.984 kB / 0.7312 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.002829, allocations: 40.81 kB / 0.7312 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.002943, allocations: 71.27 kB / 0.7313 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.003049, allocations: 20.64 kB / 0.7313 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.003208, allocations: 73.5 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.025e-05/0.003278, allocations: 15.92 kB / 0.7314 GB, free: 2.426 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.003296, allocations: 8 kB / 0.7314 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.069e-05/0.003357, allocations: 8.719 kB / 0.7314 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.003372, allocations: 11.94 kB / 0.7314 GB, free: 2.398 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.003394, allocations: 12.44 kB / 0.7314 GB, free: 2.387 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.003511, allocations: 45.23 kB / 0.7315 GB, free: 2.344 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.432e-05/0.003535, allocations: 8 kB / 0.7315 GB, free: 2.336 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003536, allocations: 0 / 0.7315 GB, free: 2.336 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.71e-05/0.003553, allocations: 0 / 0.7315 GB, free: 2.336 MB / 0.698 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.0004373/0.00399, allocations: 293 kB / 0.7318 GB, free: 2.023 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.004027, allocations: 12.81 kB / 0.7318 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.004198, allocations: 90.03 kB / 0.7319 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.004375, allocations: 143.1 kB / 0.732 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.004387, allocations: 4.375 kB / 0.732 GB, free: 1.738 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.004399, allocations: 9.078 kB / 0.732 GB, free: 1.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.004519, allocations: 58.94 kB / 0.7321 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.004527, allocations: 1.594 kB / 0.7321 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.004537, allocations: 8.375 kB / 0.7321 GB, free: 1.656 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.004543, allocations: 384 / 0.7321 GB, free: 1.656 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/0.004575, allocations: 19.81 kB / 0.7321 GB, free: 1.637 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002703/0.004845, allocations: 182.2 kB / 0.7323 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.135e-05/0.004926, allocations: 22.67 kB / 0.7323 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.004948, allocations: 24.86 kB / 0.7323 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.004962, allocations: 1 kB / 0.7323 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.00499, allocations: 38.5 kB / 0.7324 GB, free: 1.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.004991, allocations: 0 / 0.7324 GB, free: 1.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001107/0.005102, allocations: 42.19 kB / 0.7324 GB, free: 1.293 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.005131, allocations: 52.03 kB / 0.7324 GB, free: 1.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.182e-05/0.005203, allocations: 133.8 kB / 0.7326 GB, free: 1.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.005222, allocations: 31.14 kB / 0.7326 GB, free: 1.055 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.005259, allocations: 92.11 kB / 0.7327 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.005273, allocations: 3.953 kB / 0.7327 GB, free: 0.957 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.005303, allocations: 17.72 kB / 0.7327 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.005389, allocations: 328.3 kB / 0.733 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.005399, allocations: 4 kB / 0.733 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-06/0.005409, allocations: 4 kB / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.08e-05/0.00544, allocations: 13.12 kB / 0.733 GB, free: 0.582 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.005442, allocations: 0.75 kB / 0.733 GB, free: 0.582 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.863e-05/0.005491, allocations: 49.67 kB / 0.7331 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.005509, allocations: 9.25 kB / 0.7331 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.005515, allocations: 0 / 0.7331 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.005527, allocations: 4 kB / 0.7331 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.005591, allocations: 9.609 kB / 0.7331 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.005596, allocations: 7.984 kB / 0.7331 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.475e-05/0.005621, allocations: 11.89 kB / 0.7331 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-06/0.005626, allocations: 0 / 0.7331 GB, free: 500 kB / 0.698 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.507e-05/0.005691, allocations: 111.1 kB / 0.7332 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.005706, allocations: 11.92 kB / 0.7333 GB, free: 368 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.00573, allocations: 12.34 kB / 0.7333 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.005732, allocations: 0.6562 kB / 0.7333 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.005734, allocations: 0 / 0.7333 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.005737, allocations: 1.125 kB / 0.7333 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.389e-05/0.005831, allocations: 81.86 kB / 0.7333 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.005832, allocations: 0 / 0.7333 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.005851, allocations: 8.859 kB / 0.7334 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.005859, allocations: 7.891 kB / 0.7334 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.00586, allocations: 1.25 kB / 0.7334 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.005866, allocations: 3.938 kB / 0.7334 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.005866, allocations: 4 kB / 0.7334 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005867, allocations: 1.25 kB / 0.7334 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.588e-05/0.005953, allocations: 139.5 kB / 0.7335 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.005967, allocations: 0 / 0.7335 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/0.006004, allocations: 12.91 kB / 0.7335 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.006045, allocations: 7.984 kB / 0.7335 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.006049, allocations: 3.984 kB / 0.7335 GB, free: 48 kB / 0.698 GB Notification: Performance of sorting global known variables: time 2.11e-05/0.00607, allocations: 25.36 kB / 0.7335 GB, free: 20 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.00607, allocations: 1.156 kB / 0.7336 GB, free: 20 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001116/0.006182, allocations: 12 kB / 0.7336 GB, free: 8 kB / 0.698 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 9.063e-05/0.006272, allocations: 81.2 kB / 0.7336 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.137e-05/0.006354, allocations: 16.84 kB / 0.7337 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.006359, allocations: 5.219 kB / 0.7337 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-05/0.006376, allocations: 12.8 kB / 0.7337 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.006519, allocations: 12.56 kB / 0.7337 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006464/0.007165, allocations: 177.6 kB / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.854e-05/0.007204, allocations: 59.34 kB / 0.7339 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.68e-05/0.00723, allocations: 6.125 kB / 0.7339 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.007285, allocations: 63.36 kB / 0.734 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/0.007286, allocations: 0 / 0.734 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of Templates: time 0.002599/0.009885, allocations: 1.016 MB / 0.735 GB, free: 14.56 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.939519383013248]