Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 211.3 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.585/1.585, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.977/2.977, allocations: 475.9 MB / 0.7699 GB, free: 4.828 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 69.83 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4029, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002328/0.4052, allocations: 0.7511 MB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.4065, allocations: 0.89 MB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.4066, allocations: 4 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.86e-05/0.4066, allocations: 3.938 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.312e-05/0.4067, allocations: 7.875 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.4069, allocations: 47.88 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.407, allocations: 79.89 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.4072, allocations: 19.92 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.098e-05/0.4072, allocations: 39.84 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.28e-05/0.4073, allocations: 39.83 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.4074, allocations: 8 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.881e-05/0.4074, allocations: 12 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.4074, allocations: 27.91 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.4075, allocations: 31.84 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.4076, allocations: 83.67 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4076, allocations: 0 / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4076, allocations: 3.938 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.4076, allocations: 0 / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006698/0.4083, allocations: 322 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.4083, allocations: 12.03 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.4084, allocations: 12.89 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.4085, allocations: 122.4 kB / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.4085, allocations: 4.375 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.4086, allocations: 8.375 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.4089, allocations: 105.5 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.4089, allocations: 0 / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4089, allocations: 0 / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.409, allocations: 0 / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/0.4093, allocations: 106.3 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005607/0.4099, allocations: 276.3 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.4105, allocations: 110.6 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.4107, allocations: 60.75 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.4108, allocations: 4 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.4108, allocations: 34.56 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.4108, allocations: 0 / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007107/0.4115, allocations: 177.7 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.4115, allocations: 55.41 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.4117, allocations: 125.8 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.4118, allocations: 29.64 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.4118, allocations: 96.08 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.4119, allocations: 19.83 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.4119, allocations: 29.64 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4121, allocations: 322.8 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.4123, allocations: 47.89 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.4125, allocations: 56.02 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.4128, allocations: 92.78 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4128, allocations: 0 / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004568/0.4133, allocations: 141.5 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4133, allocations: 8 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.4133, allocations: 0 / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.4133, allocations: 0 / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.4135, allocations: 27.91 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4135, allocations: 0 / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.4136, allocations: 11.98 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.4137, allocations: 7.938 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001113/0.4138, allocations: 117.8 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.4138, allocations: 3.953 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.4138, allocations: 16.38 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.4138, allocations: 0 / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4138, allocations: 0 / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4138, allocations: 0 / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.414, allocations: 141.2 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.414, allocations: 0 / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.4142, allocations: 31.97 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4142, allocations: 4 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.4142, allocations: 0 / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.4142, allocations: 3.984 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4142, allocations: 4 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/0.4147, allocations: 227.3 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.4148, allocations: 15.88 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.4148, allocations: 4 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.4149, allocations: 11.98 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.415, allocations: 19.97 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.415, allocations: 4 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.909e-05/0.4151, allocations: 103.6 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4151, allocations: 0 / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000334/0.4154, allocations: 16 kB / 1.288 GB, free: 6.586 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001287/0.4156, allocations: 99.17 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004534/0.416, allocations: 107.8 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.416, allocations: 8 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.4163, allocations: 59.88 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.4167, allocations: 10.67 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/0.4171, allocations: 172 kB / 1.288 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.247e-05/0.4172, allocations: 79.27 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.345e-05/0.4173, allocations: 11.98 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.912e-05/0.4174, allocations: 23.42 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.4174, allocations: 0 / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of Templates: time 0.004987/0.4224, allocations: 1.733 MB / 1.29 GB, free: 4.258 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.692162048071623]