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.001806/0.001806, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.002093/0.002093, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.436/1.436, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.561/2.561, allocations: 443.5 MB / 0.7293 GB, free: 14.65 MB / 0.5762 GB " [Timeout remaining time 177] 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.003009/0.003009, allocations: 68.08 kB / 1.057 GB, free: 2.082 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3123, allocations: 160.7 MB / 1.214 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.00203/0.3144, allocations: 0.7014 MB / 1.215 GB, free: 336 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.3154, allocations: 0.8467 MB / 1.216 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.579e-05/0.3155, allocations: 0 / 1.216 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.3155, allocations: 3.938 kB / 1.216 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.328e-05/0.3156, allocations: 7.938 kB / 1.216 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.3157, allocations: 19.97 kB / 1.216 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.45e-05/0.3158, allocations: 43.91 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.497e-05/0.3159, allocations: 11.98 kB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.245e-05/0.316, allocations: 27.86 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.369e-05/0.316, allocations: 19.91 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3161, allocations: 8 kB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.3161, allocations: 8 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.3161, allocations: 11.94 kB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.3161, allocations: 19.91 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.3162, allocations: 51.73 kB / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3162, allocations: 0 / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3162, allocations: 0 / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3162, allocations: 0 / 1.216 GB, free: 15.24 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.0005987/0.3168, allocations: 355.3 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3169, allocations: 16.03 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.3169, allocations: 4.891 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.3171, allocations: 172.3 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.3171, allocations: 4.375 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.3171, allocations: 4.375 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3173, allocations: 69.53 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3173, allocations: 0 / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3173, allocations: 7.938 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.3173, allocations: 0 / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.3176, allocations: 59.94 kB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.3181, allocations: 284.8 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.3183, allocations: 66.47 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.3184, allocations: 32.92 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.3184, allocations: 4 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.3184, allocations: 34.55 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3184, allocations: 0 / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004373/0.3189, allocations: 109.6 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.3189, allocations: 51.41 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.757e-05/0.319, allocations: 109.8 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.319, allocations: 25.7 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.3191, allocations: 96.03 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.3191, allocations: 3.953 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.3192, allocations: 21.7 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3193, allocations: 318.8 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.3194, allocations: 23.97 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.3195, allocations: 27.98 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.3197, allocations: 48.81 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3197, allocations: 0 / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002707/0.32, allocations: 89.53 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.32, allocations: 8 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.32, allocations: 336 / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.32, allocations: 0 / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3202, allocations: 15.98 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3202, allocations: 0 / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.498e-05/0.3202, allocations: 15.92 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3203, allocations: 0 / 1.218 GB, free: 12.98 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.0001003/0.3204, allocations: 117.8 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.3204, allocations: 4 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.3204, allocations: 11.89 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3204, allocations: 0 / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3204, allocations: 4 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3204, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.3206, allocations: 181.6 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3206, allocations: 0 / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.426e-05/0.3207, allocations: 11.98 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.3207, allocations: 0 / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3207, allocations: 4 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3207, allocations: 0 / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3207, allocations: 0 / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.3211, allocations: 195.3 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.3211, allocations: 81.11 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.3211, allocations: 0 / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3212, allocations: 7.984 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.3213, allocations: 15.92 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3213, allocations: 4 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.538e-05/0.3214, allocations: 87.58 kB / 1.218 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3214, allocations: 4 kB / 1.218 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002481/0.3216, allocations: 15.89 kB / 1.219 GB, free: 12.14 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.0001232/0.3217, allocations: 95.25 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002822/0.322, allocations: 59.89 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.322, allocations: 0 / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.3221, allocations: 27.97 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.3224, allocations: 12.23 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.3228, allocations: 163.1 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.3232, allocations: 0.6807 MB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.234e-05/0.3232, allocations: 15.42 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.3232, allocations: 0 / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of Templates: time 0.002401/0.3256, allocations: 0.8219 MB / 1.22 GB, free: 10.22 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.160064949188381]