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.001355/0.001355, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.001498/0.001498, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.525/1.525, allocations: 230.6 MB / 252.8 MB, free: 9.133 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 3.242/3.242, allocations: 0.4899 GB / 0.7915 GB, free: 33.4 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.002102/0.002102, allocations: 68.92 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.369, allocations: 176.1 MB / 1.321 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002353/0.3713, allocations: 0.7107 MB / 1.322 GB, free: 2.152 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3726, allocations: 0.8631 MB / 1.323 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.764e-05/0.3726, allocations: 4 kB / 1.323 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.3727, allocations: 3.938 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.972e-05/0.3728, allocations: 7.922 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.3729, allocations: 19.98 kB / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.373, allocations: 55.83 kB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.3731, allocations: 8 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.295e-05/0.3732, allocations: 19.92 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.169e-05/0.3733, allocations: 23.91 kB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.3733, allocations: 4 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.3733, allocations: 4 kB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.3733, allocations: 11.98 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.3734, allocations: 23.86 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.3735, allocations: 59.64 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3735, allocations: 4 kB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3735, allocations: 0 / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3735, allocations: 0 / 1.323 GB, free: 1.031 MB / 1.014 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.0006497/0.3742, allocations: 359.3 kB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.3742, allocations: 11.98 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.679e-05/0.3743, allocations: 4.938 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.3745, allocations: 176.2 kB / 1.324 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.3745, allocations: 384 / 1.324 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.3746, allocations: 8.375 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.3748, allocations: 69.59 kB / 1.324 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3748, allocations: 3.984 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3748, allocations: 0 / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3748, allocations: 4 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.3751, allocations: 47.89 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.3757, allocations: 288.8 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.3759, allocations: 70.52 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.3761, allocations: 28.91 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3761, allocations: 4 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3761, allocations: 38.5 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3761, allocations: 0 / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.00047/0.3766, allocations: 109.6 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.3766, allocations: 51.41 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3767, allocations: 109.8 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.3767, allocations: 25.7 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.3768, allocations: 84.14 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.3768, allocations: 11.91 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.3769, allocations: 25.7 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.377, allocations: 318.8 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.3771, allocations: 23.97 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.819e-05/0.3772, allocations: 27.91 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.3774, allocations: 52.83 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3774, allocations: 0 / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00025/0.3777, allocations: 85.64 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3777, allocations: 5.875 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3777, allocations: 4 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.3777, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.3779, allocations: 11.98 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3779, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.384e-05/0.3779, allocations: 15.88 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.378, allocations: 3.938 kB / 1.325 GB, free: 14.77 MB / 1.029 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 9.881e-05/0.3781, allocations: 125.7 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.3781, allocations: 7.922 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.3781, allocations: 11.91 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3781, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3781, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3781, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.3783, allocations: 177.6 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3783, allocations: 0 / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.936e-05/0.3784, allocations: 11.98 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3784, allocations: 4 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.3784, allocations: 0 / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3784, allocations: 0 / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3784, allocations: 0 / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.3788, allocations: 183.7 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.3788, allocations: 85.05 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.3788, allocations: 8 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3789, allocations: 7.984 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.379, allocations: 16.02 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.379, allocations: 0 / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.487e-05/0.3791, allocations: 87.27 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3791, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002218/0.3793, allocations: 15.94 kB / 1.326 GB, free: 13.94 MB / 1.029 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.0001334/0.3794, allocations: 95.25 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002774/0.3797, allocations: 55.95 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3797, allocations: 0 / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.3798, allocations: 35.91 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.3802, allocations: 7.984 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.3806, allocations: 129.5 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.3809, allocations: 0.6846 MB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.67e-05/0.3809, allocations: 7.984 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.381, allocations: 15.44 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.381, allocations: 0 / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of Templates: time 0.003816/0.3848, allocations: 0.8915 MB / 1.328 GB, free: 11.96 MB / 1.029 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=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/jenkins/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: 9.454267841763794]