Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001657/0.001657, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001926/0.001926, allocations: 191 kB / 22.17 MB, free: 5.656 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.544/1.544, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.875/2.875, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 76.11 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8966/0.8986, allocations: 168.7 MB / 1.274 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001938/0.9005, allocations: 0.7144 MB / 1.275 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.9016, allocations: 0.8429 MB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/0.9016, allocations: 0 / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.9016, allocations: 3.938 kB / 1.276 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.034e-05/0.9017, allocations: 3.938 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.9018, allocations: 19.97 kB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.955e-05/0.9019, allocations: 51.91 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.902, allocations: 15.98 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.053e-05/0.9021, allocations: 19.92 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.57e-05/0.9022, allocations: 27.91 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.9022, allocations: 4 kB / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.9022, allocations: 4 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.9022, allocations: 11.92 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.9023, allocations: 15.92 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.9024, allocations: 46.48 kB / 1.276 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.9024, allocations: 3.938 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.42e-07/0.9024, allocations: 4 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.9024, allocations: 3.984 kB / 1.276 GB, free: 2.605 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.0006434/0.903, allocations: 359.3 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.9031, allocations: 12.03 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.9031, allocations: 4.891 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.9033, allocations: 176.3 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.9033, allocations: 384 / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.9033, allocations: 4.375 kB / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.9036, allocations: 73.59 kB / 1.276 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.9036, allocations: 0 / 1.276 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.9036, allocations: 4 kB / 1.276 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.9036, allocations: 0 / 1.276 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.9038, allocations: 55.88 kB / 1.276 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.9043, allocations: 284.8 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.9046, allocations: 66.53 kB / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.9047, allocations: 28.92 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.9047, allocations: 0 / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.9047, allocations: 34.5 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 3.075e-06/0.9047, allocations: 7.922 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004823/0.9052, allocations: 113.6 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.9053, allocations: 51.41 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.817e-05/0.9054, allocations: 109.8 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.9054, allocations: 29.7 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.9054, allocations: 88.17 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.9055, allocations: 11.88 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.9055, allocations: 25.7 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.9057, allocations: 322.8 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.9058, allocations: 23.97 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.486e-05/0.9059, allocations: 23.92 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.9061, allocations: 48.81 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9061, allocations: 4 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000262/0.9063, allocations: 89.59 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.9063, allocations: 9.875 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.9063, allocations: 0 / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.9064, allocations: 0 / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.9065, allocations: 11.98 kB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.9065, allocations: 0 / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.655e-05/0.9066, allocations: 7.984 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.9066, allocations: 4 kB / 1.278 GB, free: 348 kB / 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.0001177/0.9067, allocations: 121.7 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.9067, allocations: 4 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.9068, allocations: 7.891 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.9068, allocations: 0 / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.9068, allocations: 4 kB / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.9068, allocations: 0 / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.907, allocations: 181.5 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.907, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.04e-05/0.9071, allocations: 11.98 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.9071, allocations: 7.984 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.9071, allocations: 0 / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9071, allocations: 0 / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.9071, allocations: 0 / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.9074, allocations: 183.4 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.9075, allocations: 81.06 kB / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.9075, allocations: 7.875 kB / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.9076, allocations: 11.98 kB / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/0.9077, allocations: 11.98 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.9077, allocations: 4.375 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.213e-05/0.9077, allocations: 83.28 kB / 1.278 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9077, allocations: 0 / 1.278 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000224/0.908, allocations: 15.88 kB / 1.279 GB, free: 15.52 MB / 0.9825 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.0001326/0.9081, allocations: 99.77 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002734/0.9084, allocations: 63.94 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9084, allocations: 0 / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.9085, allocations: 31.91 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.9088, allocations: 8 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.9092, allocations: 144.3 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.9095, allocations: 0.6846 MB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.161e-05/0.9096, allocations: 4 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.9096, allocations: 15.42 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.9096, allocations: 0 / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of Templates: time 0.003672/0.9133, allocations: 0.9014 MB / 1.28 GB, free: 13.52 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.091611487325281]