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.001873/0.001873, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.00271/0.00271, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.449/1.449, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.663/2.663, allocations: 437.1 MB / 0.7177 GB, free: 4.484 MB / 0.5606 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.002071/0.00207, allocations: 63.91 kB / 1.028 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3167, allocations: 151.6 MB / 1.176 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002053/0.3188, allocations: 0.7095 MB / 1.177 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3199, allocations: 0.843 MB / 1.177 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.32, allocations: 0 / 1.177 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.32, allocations: 3.938 kB / 1.177 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.538e-05/0.3201, allocations: 3.938 kB / 1.177 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.3203, allocations: 27.91 kB / 1.177 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.211e-05/0.3204, allocations: 35.92 kB / 1.177 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3205, allocations: 19.97 kB / 1.177 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.148e-05/0.3206, allocations: 23.92 kB / 1.177 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.3207, allocations: 19.92 kB / 1.177 GB, free: 4.152 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3207, allocations: 4 kB / 1.177 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.678e-05/0.3207, allocations: 4 kB / 1.178 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.3207, allocations: 19.92 kB / 1.178 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.3208, allocations: 19.91 kB / 1.178 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.3209, allocations: 47.75 kB / 1.178 GB, free: 4.059 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3209, allocations: 0 / 1.178 GB, free: 4.059 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3209, allocations: 0 / 1.178 GB, free: 4.059 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3209, allocations: 0 / 1.178 GB, free: 4.059 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.0005855/0.3215, allocations: 359.3 kB / 1.178 GB, free: 3.66 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3216, allocations: 8.031 kB / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.3216, allocations: 8.922 kB / 1.178 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.3218, allocations: 184.2 kB / 1.178 GB, free: 3.426 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3218, allocations: 384 / 1.178 GB, free: 3.426 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.3218, allocations: 4.375 kB / 1.178 GB, free: 3.422 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.3221, allocations: 69.53 kB / 1.178 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3221, allocations: 0 / 1.178 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3221, allocations: 4 kB / 1.178 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3221, allocations: 4 kB / 1.178 GB, free: 3.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.3223, allocations: 51.94 kB / 1.178 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.3228, allocations: 292.7 kB / 1.179 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.323, allocations: 66.53 kB / 1.179 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3231, allocations: 32.92 kB / 1.179 GB, free: 2.844 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.3232, allocations: 0 / 1.179 GB, free: 2.844 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.3232, allocations: 30.56 kB / 1.179 GB, free: 2.805 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3232, allocations: 0 / 1.179 GB, free: 2.805 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004366/0.3236, allocations: 117.5 kB / 1.179 GB, free: 2.684 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.3237, allocations: 51.41 kB / 1.179 GB, free: 2.621 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.3238, allocations: 113.8 kB / 1.179 GB, free: 2.5 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.3238, allocations: 25.7 kB / 1.179 GB, free: 2.469 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.3239, allocations: 88.09 kB / 1.179 GB, free: 2.379 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.3239, allocations: 8.031 kB / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.324, allocations: 21.7 kB / 1.179 GB, free: 2.344 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3241, allocations: 318.8 kB / 1.179 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3242, allocations: 27.97 kB / 1.179 GB, free: 1.996 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.411e-05/0.3243, allocations: 19.98 kB / 1.179 GB, free: 1.977 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.3245, allocations: 52.81 kB / 1.179 GB, free: 1.922 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3245, allocations: 3.938 kB / 1.179 GB, free: 1.918 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002509/0.3248, allocations: 89.59 kB / 1.18 GB, free: 1.824 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3248, allocations: 8 kB / 1.18 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3248, allocations: 0 / 1.18 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.3249, allocations: 0 / 1.18 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.325, allocations: 11.98 kB / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.325, allocations: 320 / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.837e-05/0.3251, allocations: 11.92 kB / 1.18 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.3251, allocations: 4 kB / 1.18 GB, free: 1.789 MB / 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 8.954e-05/0.3252, allocations: 113.8 kB / 1.18 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.3252, allocations: 4 kB / 1.18 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.3252, allocations: 7.906 kB / 1.18 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3253, allocations: 0 / 1.18 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3253, allocations: 3.984 kB / 1.18 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3253, allocations: 4 kB / 1.18 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.3255, allocations: 181.6 kB / 1.18 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.3255, allocations: 0 / 1.18 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.986e-05/0.3256, allocations: 15.92 kB / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3256, allocations: 0 / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3256, allocations: 3.984 kB / 1.18 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3256, allocations: 7.938 kB / 1.18 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3256, allocations: 7.984 kB / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.326, allocations: 187.7 kB / 1.18 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.326, allocations: 77.11 kB / 1.18 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.326, allocations: 3.938 kB / 1.18 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3261, allocations: 11.98 kB / 1.18 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.3262, allocations: 15.98 kB / 1.18 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.3262, allocations: 0 / 1.18 GB, free: 1.055 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.843e-05/0.3263, allocations: 83.28 kB / 1.18 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3263, allocations: 0 / 1.18 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002248/0.3265, allocations: 15.89 kB / 1.18 GB, free: 0.957 MB / 0.92 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.0001251/0.3266, allocations: 107.2 kB / 1.18 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.3269, allocations: 51.95 kB / 1.18 GB, free: 0.793 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.327, allocations: 4 kB / 1.18 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.3271, allocations: 31.97 kB / 1.18 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.3274, allocations: 7.938 kB / 1.18 GB, free: 0.75 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.3278, allocations: 163 kB / 1.181 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3281, allocations: 0.6807 MB / 1.181 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.3281, allocations: 11.44 kB / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.3281, allocations: 4 kB / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of Templates: time 0.002285/0.3304, allocations: 0.8038 MB / 1.182 GB, free: 15.04 MB / 0.9356 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.129705593921244]