Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00267/0.00267, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.00326/0.00326, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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 1.57/1.57, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.906/2.906, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 0 / 0.7864 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.374e-05/3.671e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002189/0.002225, allocations: 0.7006 MB / 0.7871 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.003634, allocations: 0.8599 MB / 0.7879 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.003685, allocations: 4 kB / 0.7879 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.003714, allocations: 3.938 kB / 0.7879 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.194e-05/0.003806, allocations: 4.531 kB / 0.7879 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.003984, allocations: 32.75 kB / 0.788 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.004105, allocations: 43.91 kB / 0.788 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.004214, allocations: 13.02 kB / 0.788 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.004318, allocations: 23.92 kB / 0.788 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.355e-05/0.004392, allocations: 23.95 kB / 0.7881 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.004419, allocations: 5.125 kB / 0.7881 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.004432, allocations: 4 kB / 0.7881 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.004459, allocations: 11.94 kB / 0.7881 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.004492, allocations: 12.55 kB / 0.7881 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.004628, allocations: 52.53 kB / 0.7881 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.004631, allocations: 0 / 0.7881 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.71e-07/0.004631, allocations: 0.9062 kB / 0.7881 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.004636, allocations: 3.938 kB / 0.7882 GB, free: 10.85 MB / 0.7448 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.0006376/0.005274, allocations: 376.8 kB / 0.7885 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.005323, allocations: 12.03 kB / 0.7885 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.005387, allocations: 13.59 kB / 0.7885 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.005552, allocations: 108.6 kB / 0.7886 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.005575, allocations: 6.031 kB / 0.7886 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.005591, allocations: 4.375 kB / 0.7886 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.005791, allocations: 66.2 kB / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.005803, allocations: 3.938 kB / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.005813, allocations: 1.344 kB / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.005818, allocations: 0 / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.005991, allocations: 43.91 kB / 0.7888 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.006498, allocations: 281.3 kB / 0.789 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.006695, allocations: 71.02 kB / 0.7891 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.851e-05/0.006784, allocations: 27.72 kB / 0.7891 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.006805, allocations: 3.531 kB / 0.7891 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.006847, allocations: 37.33 kB / 0.7892 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.006848, allocations: 0 / 0.7892 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0003794/0.007228, allocations: 89.66 kB / 0.7892 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.007276, allocations: 51.41 kB / 0.7893 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.007438, allocations: 177.9 kB / 0.7895 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.007461, allocations: 25.7 kB / 0.7895 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.007564, allocations: 142.8 kB / 0.7896 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.007584, allocations: 16.52 kB / 0.7896 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.007635, allocations: 19.38 kB / 0.7897 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002797/0.007915, allocations: 0.493 MB / 0.7901 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.823e-05/0.007993, allocations: 16.55 kB / 0.7902 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.558e-05/0.008059, allocations: 17.12 kB / 0.7902 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.008197, allocations: 47.59 kB / 0.7902 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.008203, allocations: 3.938 kB / 0.7902 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002085/0.008411, allocations: 87.41 kB / 0.7903 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.008426, allocations: 4 kB / 0.7903 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.008431, allocations: 0 / 0.7903 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.008445, allocations: 0 / 0.7903 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.008552, allocations: 13.08 kB / 0.7903 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.008557, allocations: 0 / 0.7903 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.747e-05/0.008615, allocations: 4.938 kB / 0.7903 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.008621, allocations: 0 / 0.7903 GB, free: 8.434 MB / 0.7448 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 0.0001439/0.008765, allocations: 169.7 kB / 0.7905 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.008795, allocations: 3.984 kB / 0.7905 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.008833, allocations: 15.98 kB / 0.7905 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.008835, allocations: 1.031 kB / 0.7905 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.008839, allocations: 0 / 0.7905 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.008841, allocations: 0 / 0.7905 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.009022, allocations: 130.9 kB / 0.7906 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.009026, allocations: 3.938 kB / 0.7906 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.661e-05/0.009103, allocations: 11.98 kB / 0.7906 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.009107, allocations: 4 kB / 0.7907 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.009115, allocations: 0 / 0.7907 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.009117, allocations: 2.875 kB / 0.7907 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009118, allocations: 0 / 0.7907 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.009415, allocations: 219.9 kB / 0.7909 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.009437, allocations: 15.88 kB / 0.7909 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.009451, allocations: 0 / 0.7909 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.009535, allocations: 4 kB / 0.7909 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.009602, allocations: 11.98 kB / 0.7909 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.009607, allocations: 1.5 kB / 0.7909 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003421/0.009949, allocations: 139.2 kB / 0.791 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009949, allocations: 0 / 0.791 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002207/0.01017, allocations: 11.94 kB / 0.791 GB, free: 7.645 MB / 0.7448 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 0.0001348/0.0103, allocations: 95.81 kB / 0.7911 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.01053, allocations: 52.78 kB / 0.7912 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01053, allocations: 0 / 0.7912 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.01065, allocations: 44.33 kB / 0.7912 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.01094, allocations: 14.69 kB / 0.7912 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.01136, allocations: 134.2 kB / 0.7914 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.538e-05/0.01145, allocations: 72.17 kB / 0.7914 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.048e-05/0.01149, allocations: 1.75 kB / 0.7914 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.01154, allocations: 17.28 kB / 0.7915 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.01154, allocations: 0 / 0.7915 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of Templates: time 0.004295/0.01584, allocations: 0.9713 MB / 0.7924 GB, free: 6.227 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.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: 7.971649090060964]