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.001348/0.001348, allocations: 110 kB / 18.93 MB, free: 2.945 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.00162/0.00162, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.546/1.546, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.898/2.898, allocations: 443.5 MB / 0.7322 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002023/0.002023, allocations: 75.83 kB / 1.061 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.079, allocations: 160.8 MB / 1.218 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002194/1.081, allocations: 0.7157 MB / 1.219 GB, free: 3.105 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00123/1.082, allocations: 0.8419 MB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/1.082, allocations: 1.125 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/1.082, allocations: 3.938 kB / 1.22 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.2e-05/1.082, allocations: 9.422 kB / 1.22 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/1.082, allocations: 19.67 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.876e-05/1.082, allocations: 46.59 kB / 1.22 GB, free: 2.363 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/1.083, allocations: 16.23 kB / 1.22 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.353e-05/1.083, allocations: 15.05 kB / 1.22 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/1.083, allocations: 27.48 kB / 1.22 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/1.083, allocations: 7.875 kB / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/1.083, allocations: 3.656 kB / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/1.083, allocations: 10.64 kB / 1.22 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/1.083, allocations: 27.31 kB / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/1.083, allocations: 39.44 kB / 1.22 GB, free: 2.262 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.083, allocations: 1.344 kB / 1.22 GB, free: 2.262 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.234e-06/1.083, allocations: 4 kB / 1.22 GB, free: 2.258 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.51e-06/1.083, allocations: 0 / 1.22 GB, free: 2.258 MB / 0.92 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.0005938/1.084, allocations: 362.1 kB / 1.221 GB, free: 1.879 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.084, allocations: 9.062 kB / 1.221 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/1.084, allocations: 3.562 kB / 1.221 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/1.084, allocations: 174.6 kB / 1.221 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/1.084, allocations: 2.594 kB / 1.221 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/1.084, allocations: 10.56 kB / 1.221 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/1.084, allocations: 75.88 kB / 1.221 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/1.084, allocations: 0 / 1.221 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/1.084, allocations: 1.281 kB / 1.221 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.084, allocations: 0 / 1.221 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/1.084, allocations: 51.14 kB / 1.221 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/1.085, allocations: 291.1 kB / 1.221 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/1.085, allocations: 67.17 kB / 1.221 GB, free: 1.215 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/1.085, allocations: 30.53 kB / 1.221 GB, free: 1.195 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/1.085, allocations: 0 / 1.221 GB, free: 1.195 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/1.085, allocations: 35.91 kB / 1.221 GB, free: 1.152 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/1.085, allocations: 0 / 1.221 GB, free: 1.152 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004758/1.086, allocations: 109.2 kB / 1.221 GB, free: 1.082 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/1.086, allocations: 51.41 kB / 1.221 GB, free: 1.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/1.086, allocations: 118.6 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/1.086, allocations: 26.77 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/1.086, allocations: 89.42 kB / 1.222 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/1.086, allocations: 18.48 kB / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/1.086, allocations: 21.72 kB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.086, allocations: 320 kB / 1.222 GB, free: 432 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/1.086, allocations: 19.98 kB / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.39e-05/1.086, allocations: 25.53 kB / 1.222 GB, free: 412 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/1.087, allocations: 53.91 kB / 1.222 GB, free: 380 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.087, allocations: 0 / 1.222 GB, free: 380 kB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002477/1.087, allocations: 89.16 kB / 1.222 GB, free: 316 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.087, allocations: 5.062 kB / 1.222 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/1.087, allocations: 3.938 kB / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/1.087, allocations: 1.031 kB / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/1.087, allocations: 15.33 kB / 1.222 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.087, allocations: 0.9688 kB / 1.222 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.619e-05/1.087, allocations: 8.453 kB / 1.222 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/1.087, allocations: 2.188 kB / 1.222 GB, free: 300 kB / 0.92 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.0001155/1.087, allocations: 127.6 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/1.087, allocations: 1.125 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/1.087, allocations: 9.188 kB / 1.222 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/1.087, allocations: 1.031 kB / 1.222 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.087, allocations: 1.219 kB / 1.222 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/1.087, allocations: 0 / 1.222 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/1.088, allocations: 179.6 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.088, allocations: 0 / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.803e-05/1.088, allocations: 11.52 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.088, allocations: 4.906 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/1.088, allocations: 4.875 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/1.088, allocations: 0 / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.088, allocations: 1.094 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/1.088, allocations: 187.4 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/1.088, allocations: 82.31 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/1.088, allocations: 9.031 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/1.088, allocations: 8.797 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/1.088, allocations: 11.48 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/1.088, allocations: 1.25 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.511e-05/1.088, allocations: 81.16 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.088, allocations: 0 / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002306/1.088, allocations: 18.45 kB / 1.223 GB, free: 15.55 MB / 0.9356 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.0001371/1.089, allocations: 103.7 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002694/1.089, allocations: 60.97 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.089, allocations: 1.094 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/1.089, allocations: 33.94 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/1.089, allocations: 2.156 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/1.09, allocations: 138.9 kB / 1.223 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/1.09, allocations: 0.685 MB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.015e-05/1.09, allocations: 3.031 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/1.09, allocations: 18.95 kB / 1.224 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of SimCode: time 4e-07/1.09, allocations: 0.8125 kB / 1.224 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of Templates: time 0.003808/1.094, allocations: 0.9098 MB / 1.225 GB, free: 14.09 MB / 0.9356 GB " [Timeout remaining time 299] 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: 9.836189346387982]