Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.001205/0.001205, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001667/0.002872, allocations: 449.8 kB / 10.44 MB, free: 252 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.001068/0.001068, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001447/0.002515, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9771/0.9771, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09877/1.076, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.941/1.941, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5587/2.5, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 177] 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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.724e-05, allocations: 3.438 kB / 0.7297 GB, free: 4.414 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001346/0.001364, allocations: 0.7668 MB / 0.7304 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007239/0.002087, allocations: 0.8816 MB / 0.7313 GB, free: 2.789 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.00212, allocations: 0.625 kB / 0.7313 GB, free: 2.789 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.002145, allocations: 3.938 kB / 0.7313 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.105e-05/0.002186, allocations: 2.75 kB / 0.7313 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.316e-05/0.002259, allocations: 35.83 kB / 0.7313 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.895e-05/0.002338, allocations: 46.88 kB / 0.7313 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.05e-05/0.002418, allocations: 11.98 kB / 0.7314 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.452e-05/0.002513, allocations: 31.17 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.002574, allocations: 23.55 kB / 0.7314 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.002596, allocations: 4 kB / 0.7314 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.002607, allocations: 4 kB / 0.7314 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.002626, allocations: 9.75 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/0.002648, allocations: 12.72 kB / 0.7314 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.221e-05/0.00274, allocations: 30.38 kB / 0.7315 GB, free: 2.602 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.255e-05/0.002752, allocations: 0.6562 kB / 0.7315 GB, free: 2.602 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002753, allocations: 0 / 0.7315 GB, free: 2.602 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.002766, allocations: 0 / 0.7315 GB, free: 2.602 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003953/0.003161, allocations: 256.5 kB / 0.7317 GB, free: 2.328 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.003193, allocations: 8.031 kB / 0.7317 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.003227, allocations: 5.438 kB / 0.7317 GB, free: 2.316 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.003327, allocations: 122.3 kB / 0.7318 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.003349, allocations: 13.77 kB / 0.7319 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.003361, allocations: 384 / 0.7319 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.003483, allocations: 66.92 kB / 0.7319 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.003491, allocations: 5.656 kB / 0.7319 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.003499, allocations: 4 kB / 0.7319 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.003505, allocations: 0.6562 kB / 0.7319 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.013e-05/0.003535, allocations: 15.92 kB / 0.7319 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002294/0.003765, allocations: 165.1 kB / 0.7321 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.86e-05/0.003833, allocations: 31.06 kB / 0.7321 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.00385, allocations: 9.984 kB / 0.7321 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.003864, allocations: 7.938 kB / 0.7322 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.003886, allocations: 35.7 kB / 0.7322 GB, free: 1.785 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.003887, allocations: 0.5625 kB / 0.7322 GB, free: 1.785 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001202/0.004008, allocations: 54.45 kB / 0.7322 GB, free: 1.727 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.004035, allocations: 51.41 kB / 0.7323 GB, free: 1.664 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.583e-05/0.004091, allocations: 111.4 kB / 0.7324 GB, free: 1.543 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.004101, allocations: 25.7 kB / 0.7324 GB, free: 1.512 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.004135, allocations: 88.91 kB / 0.7325 GB, free: 1.422 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.004152, allocations: 7.938 kB / 0.7325 GB, free: 1.414 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.00418, allocations: 23.16 kB / 0.7325 GB, free: 1.387 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.004257, allocations: 318.8 kB / 0.7328 GB, free: 1.066 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.004269, allocations: 5.188 kB / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.129e-05/0.004281, allocations: 4 kB / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.884e-05/0.00431, allocations: 20.78 kB / 0.7329 GB, free: 1.035 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.004312, allocations: 1.703 kB / 0.7329 GB, free: 1.035 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.293e-05/0.004365, allocations: 49.61 kB / 0.7329 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.004377, allocations: 9.125 kB / 0.7329 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.004381, allocations: 0 / 0.7329 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.004395, allocations: 4 kB / 0.7329 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.204e-05/0.004467, allocations: 13.67 kB / 0.7329 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.00447, allocations: 0 / 0.7329 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.004494, allocations: 4.875 kB / 0.7329 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.004499, allocations: 4 kB / 0.7329 GB, free: 0.9492 MB / 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: 2 (reaToInt.y,intLesThr.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.662e-05/0.004555, allocations: 111 kB / 0.7331 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.004572, allocations: 11.92 kB / 0.7331 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.004594, allocations: 9.25 kB / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.004598, allocations: 3.984 kB / 0.7331 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.0046, allocations: 4 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.004603, allocations: 1.75 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.535e-05/0.004688, allocations: 82.42 kB / 0.7332 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.004689, allocations: 0 / 0.7332 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.004718, allocations: 11.98 kB / 0.7332 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-06/0.004723, allocations: 0 / 0.7332 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.004725, allocations: 5.156 kB / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-06/0.004731, allocations: 4 kB / 0.7332 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.004731, allocations: 0.7656 kB / 0.7332 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.004732, allocations: 0.6562 kB / 0.7332 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.165e-05/0.004824, allocations: 148.7 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-06/0.004834, allocations: 3.938 kB / 0.7333 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.623e-05/0.00487, allocations: 4 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.004911, allocations: 9.234 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.004914, allocations: 3.984 kB / 0.7333 GB, free: 0.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.24e-05/0.004927, allocations: 13.52 kB / 0.7334 GB, free: 496 kB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.004927, allocations: 0 / 0.7334 GB, free: 496 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001127/0.00504, allocations: 9.25 kB / 0.7334 GB, free: 488 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 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 6.749e-05/0.005107, allocations: 76.42 kB / 0.7334 GB, free: 404 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.539e-05/0.005172, allocations: 26.53 kB / 0.7335 GB, free: 376 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.005176, allocations: 0.7656 kB / 0.7335 GB, free: 376 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.089e-05/0.005207, allocations: 26.02 kB / 0.7335 GB, free: 348 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.005355, allocations: 39.14 kB / 0.7335 GB, free: 304 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.005701, allocations: 132.5 kB / 0.7337 GB, free: 144 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.322e-05/0.005734, allocations: 59.84 kB / 0.7337 GB, free: 64 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.005762, allocations: 7.281 kB / 0.7337 GB, free: 60 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.655e-05/0.005818, allocations: 56.11 kB / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/0.005819, allocations: 0 / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of Templates: time 0.002296/0.008115, allocations: 0.9699 MB / 0.7347 GB, free: 15.08 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9888866096735]