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.001433/0.001433, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001624/0.001624, allocations: 222.3 kB / 23 MB, free: 4.914 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.477/1.477, allocations: 230.6 MB / 256.8 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.765/2.765, allocations: 476 MB / 0.7707 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 177] 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.002133/0.002133, allocations: 67.39 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3582, allocations: 170 MB / 1.284 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002324/0.3605, allocations: 0.7606 MB / 1.285 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.3618, allocations: 0.8822 MB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.039e-05/0.3619, allocations: 4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.167e-05/0.3619, allocations: 3.938 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.09e-05/0.362, allocations: 11.86 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.3622, allocations: 43.89 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.3624, allocations: 83.83 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3625, allocations: 11.98 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.755e-05/0.3626, allocations: 51.83 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.865e-05/0.3627, allocations: 43.77 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.3627, allocations: 8 kB / 1.286 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.843e-05/0.3627, allocations: 8 kB / 1.286 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.3628, allocations: 23.97 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.3628, allocations: 23.86 kB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.363, allocations: 95.59 kB / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.363, allocations: 0 / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.502e-06/0.363, allocations: 0 / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.363, allocations: 0 / 1.286 GB, free: 9.848 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.000706/0.3637, allocations: 328 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.3637, allocations: 8.031 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.3638, allocations: 8.891 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.364, allocations: 122.4 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.364, allocations: 4.375 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.364, allocations: 8.375 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.3644, allocations: 101.5 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3644, allocations: 3.938 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3644, allocations: 8 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3644, allocations: 0 / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.3648, allocations: 99.89 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.3654, allocations: 272.3 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/0.3661, allocations: 118.6 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.3663, allocations: 60.75 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3663, allocations: 3.938 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.3663, allocations: 30.56 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.3663, allocations: 0 / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007199/0.367, allocations: 189.5 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.3671, allocations: 51.41 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.3672, allocations: 125.8 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.3672, allocations: 25.7 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.424e-05/0.3673, allocations: 96.08 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.3674, allocations: 19.84 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.3674, allocations: 25.7 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3676, allocations: 322.8 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.3678, allocations: 51.89 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.3679, allocations: 43.95 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.3683, allocations: 96.78 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3683, allocations: 0 / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004246/0.3687, allocations: 141.5 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.3687, allocations: 10.5 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3687, allocations: 0 / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3688, allocations: 0 / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.3689, allocations: 27.91 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3689, allocations: 0 / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.3691, allocations: 11.98 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.3691, allocations: 11.92 kB / 1.288 GB, free: 7.301 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.0001265/0.3692, allocations: 113.8 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.3692, allocations: 7.953 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.662e-05/0.3693, allocations: 16.36 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3693, allocations: 0 / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3693, allocations: 0 / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3693, allocations: 0 / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.3695, allocations: 141.1 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3695, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.3696, allocations: 27.97 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3697, allocations: 0 / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.3697, allocations: 15.98 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3697, allocations: 0 / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3697, allocations: 3.938 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.3702, allocations: 235.9 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.3702, allocations: 11.89 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.3702, allocations: 4 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.3704, allocations: 15.98 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.356e-05/0.3705, allocations: 19.97 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3705, allocations: 7.984 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.576e-05/0.3706, allocations: 87.28 kB / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3706, allocations: 0 / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000231/0.3708, allocations: 16 kB / 1.289 GB, free: 6.531 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.0001357/0.3709, allocations: 103.2 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004299/0.3714, allocations: 107.9 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3714, allocations: 0 / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.3716, allocations: 59.94 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.3719, allocations: 8 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.3724, allocations: 201.7 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.082e-05/0.3725, allocations: 83.27 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.3725, allocations: 11.44 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3725, allocations: 0 / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of Templates: time 0.002926/0.3755, allocations: 1.261 MB / 1.291 GB, free: 4.656 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/jenkins1/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: 11.056497960817069]