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.001262/0.001262, allocations: 113.9 kB / 17.13 MB, free: 5.926 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.001454/0.001454, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.501/1.501, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.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.944/2.944, allocations: 0.49 GB / 0.7923 GB, free: 1.34 MB / 0.6231 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.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: 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.002076/0.002076, allocations: 75.89 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.951/0.9531, allocations: 176.1 MB / 1.322 GB, free: 25.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001731/0.9549, allocations: 0.7054 MB / 1.323 GB, free: 24.56 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007754/0.9556, allocations: 0.8686 MB / 1.323 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.979e-05/0.9557, allocations: 0 / 1.323 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.9557, allocations: 7.938 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.433e-05/0.9558, allocations: 6.75 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.9559, allocations: 21.61 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.974e-05/0.956, allocations: 49.34 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.9561, allocations: 12.56 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.988e-05/0.9561, allocations: 20.48 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.9562, allocations: 26.73 kB / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.9562, allocations: 7.047 kB / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.9562, allocations: 5.5 kB / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.9562, allocations: 13.75 kB / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.9563, allocations: 18.72 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.001e-05/0.9564, allocations: 52.08 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9564, allocations: 0 / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9564, allocations: 0 / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.9564, allocations: 0 / 1.324 GB, free: 23.79 MB / 1.061 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.0004346/0.9568, allocations: 364.8 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.9568, allocations: 12.42 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.9569, allocations: 3.5 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.907e-05/0.957, allocations: 166.9 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.957, allocations: 6.875 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.957, allocations: 6.938 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.9572, allocations: 73.5 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.9572, allocations: 0 / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.9572, allocations: 0 / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.9572, allocations: 0 / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.9574, allocations: 48.14 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.9577, allocations: 294.4 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.9579, allocations: 65.69 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.883e-05/0.958, allocations: 36.89 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.958, allocations: 0 / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.9581, allocations: 37.38 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.9581, allocations: 0 / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003806/0.9584, allocations: 111 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.9585, allocations: 51.41 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.881e-05/0.9585, allocations: 111.7 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.9585, allocations: 32.94 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/0.9586, allocations: 82.8 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.9586, allocations: 19.84 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.9586, allocations: 18.33 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.308e-05/0.9587, allocations: 318.8 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.965e-05/0.9588, allocations: 24.06 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.9588, allocations: 27.72 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.959, allocations: 56.11 kB / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.959, allocations: 0 / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002119/0.9592, allocations: 84.36 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.9592, allocations: 7.281 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.9592, allocations: 2.5 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.9593, allocations: 0 / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.9594, allocations: 14.86 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.9594, allocations: 3.141 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.38e-05/0.9595, allocations: 16.08 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.9595, allocations: 0 / 1.326 GB, free: 21.97 MB / 1.061 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.541e-05/0.9595, allocations: 116.6 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.9595, allocations: 2.562 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.9596, allocations: 10.34 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.9596, allocations: 3.234 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.9596, allocations: 0 / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.9596, allocations: 0 / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.9597, allocations: 175 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.9597, allocations: 4 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.334e-05/0.9598, allocations: 12.05 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.9598, allocations: 0 / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.9598, allocations: 0 / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9598, allocations: 0 / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9598, allocations: 7.406 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.96, allocations: 186.2 kB / 1.326 GB, free: 21.47 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.9601, allocations: 79.64 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.9601, allocations: 384 / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.9602, allocations: 12.61 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.9602, allocations: 6.094 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-06/0.9602, allocations: 14.11 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.557e-05/0.9603, allocations: 81.03 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9603, allocations: 0 / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000214/0.9605, allocations: 13.31 kB / 1.326 GB, free: 21.29 MB / 1.061 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 9.332e-05/0.9606, allocations: 110.3 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.9608, allocations: 55.94 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9608, allocations: 0 / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.9609, allocations: 31.34 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.9612, allocations: 6.5 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.9615, allocations: 163.6 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.9616, allocations: 0.6796 MB / 1.327 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.9617, allocations: 15.98 kB / 1.327 GB, free: 20.31 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.9617, allocations: 0 / 1.327 GB, free: 20.31 MB / 1.061 GB Notification: Performance of Templates: time 0.002136/0.9638, allocations: 0.8091 MB / 1.328 GB, free: 20.27 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.26986917600152]