Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.747/2.747, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 67.91 kB / 1.059 GB, free: 340 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3823, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002451/0.3847, allocations: 0.7093 MB / 1.217 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.3861, allocations: 0.8429 MB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.3862, allocations: 8 kB / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4e-05/0.3862, allocations: 3.938 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.3863, allocations: 3.938 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.3865, allocations: 23.91 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.91e-05/0.3866, allocations: 39.98 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.3867, allocations: 11.98 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.608e-05/0.3868, allocations: 27.84 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.581e-05/0.3869, allocations: 19.92 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.3869, allocations: 4 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.508e-05/0.3869, allocations: 4 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.523e-05/0.387, allocations: 19.92 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.387, allocations: 19.92 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.3871, allocations: 47.73 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3871, allocations: 3.938 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3871, allocations: 0 / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.3872, allocations: 0 / 1.218 GB, free: 13.49 MB / 0.9669 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.0006722/0.3878, allocations: 363.3 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.3879, allocations: 8.031 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.3879, allocations: 8.938 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.3881, allocations: 176.3 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.3881, allocations: 384 / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.3881, allocations: 8.312 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.3884, allocations: 73.58 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3884, allocations: 0 / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3884, allocations: 0 / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3884, allocations: 4 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.3886, allocations: 47.94 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.3891, allocations: 292.8 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.3893, allocations: 70.45 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.3894, allocations: 24.92 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.3895, allocations: 4 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3895, allocations: 34.56 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3895, allocations: 0 / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004647/0.39, allocations: 113.5 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.39, allocations: 51.41 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3901, allocations: 105.8 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.3902, allocations: 25.7 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.3903, allocations: 96.09 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.3903, allocations: 7.953 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.3903, allocations: 17.7 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3905, allocations: 322.8 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3906, allocations: 23.97 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.444e-05/0.3907, allocations: 23.92 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.3909, allocations: 52.81 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3909, allocations: 0 / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002418/0.3911, allocations: 93.53 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3912, allocations: 4 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3912, allocations: 0 / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.3912, allocations: 4 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.3913, allocations: 11.98 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3913, allocations: 4 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.495e-05/0.3914, allocations: 11.92 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.3914, allocations: 0 / 1.22 GB, free: 11.23 MB / 0.9669 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.0001088/0.3915, allocations: 121.8 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.3915, allocations: 0 / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.3916, allocations: 15.84 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3916, allocations: 3.984 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3916, allocations: 0 / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.3916, allocations: 0 / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.3918, allocations: 181.7 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3918, allocations: 0 / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-05/0.3919, allocations: 11.98 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3919, allocations: 0 / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.3919, allocations: 3.984 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3919, allocations: 0 / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3919, allocations: 3.938 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.3922, allocations: 195.7 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.3922, allocations: 81.11 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.3922, allocations: 0 / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.779e-05/0.3923, allocations: 7.984 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.3924, allocations: 11.98 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.3924, allocations: 0 / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.32e-05/0.3924, allocations: 87.59 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3924, allocations: 0 / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002156/0.3927, allocations: 15.89 kB / 1.221 GB, free: 10.4 MB / 0.9669 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.0001623/0.3928, allocations: 107.2 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000346/0.3932, allocations: 55.89 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3932, allocations: 0 / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.3933, allocations: 31.91 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.3936, allocations: 9.719 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.394, allocations: 146.4 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.3943, allocations: 0.6807 MB / 1.222 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.179e-05/0.3943, allocations: 4 kB / 1.222 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.3944, allocations: 19.42 kB / 1.222 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.3944, allocations: 4 kB / 1.222 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of Templates: time 0.003541/0.3979, allocations: 0.9014 MB / 1.222 GB, free: 8.391 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.78254558891058]