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.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.001324/0.001324, allocations: 115.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.001608/0.001608, allocations: 192.5 kB / 22.17 MB, free: 5.652 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.623/1.623, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.811/2.811, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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.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: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.89 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.982/0.984, allocations: 168.7 MB / 1.274 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002126/0.9861, allocations: 0.788 MB / 1.275 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.9873, allocations: 0.8663 MB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.9873, allocations: 0 / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.704e-05/0.9873, allocations: 7.875 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.779e-05/0.9874, allocations: 15.86 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.9876, allocations: 39.94 kB / 1.276 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.9877, allocations: 87.77 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.9878, allocations: 23.98 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.361e-05/0.9879, allocations: 31.86 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.988, allocations: 51.81 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.988, allocations: 8 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.988, allocations: 11.94 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.988, allocations: 19.97 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.9881, allocations: 39.78 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.9882, allocations: 91.39 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9882, allocations: 4 kB / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.82e-07/0.9882, allocations: 0 / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.9882, allocations: 0 / 1.276 GB, free: 2.352 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006429/0.9889, allocations: 397.9 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.9889, allocations: 8.031 kB / 1.276 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.989, allocations: 8.891 kB / 1.276 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.9891, allocations: 172.3 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.9892, allocations: 8.375 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.9892, allocations: 4.375 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.9895, allocations: 112.3 kB / 1.277 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.9895, allocations: 0 / 1.277 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.9896, allocations: 4 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.9896, allocations: 7.938 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.99, allocations: 91.89 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.9906, allocations: 348.7 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006612/0.9913, allocations: 114.5 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.9915, allocations: 56.81 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.9915, allocations: 4 kB / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.9916, allocations: 34.56 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.9916, allocations: 0 / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000753/0.9923, allocations: 177.5 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.9924, allocations: 63.39 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.9925, allocations: 125.7 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.9925, allocations: 33.7 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.9926, allocations: 100 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.9926, allocations: 19.86 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/0.9927, allocations: 25.7 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.9928, allocations: 314.8 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.9931, allocations: 51.94 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.9932, allocations: 44.27 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.9936, allocations: 100.9 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9936, allocations: 0 / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004671/0.9941, allocations: 137.5 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.9941, allocations: 8 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.9941, allocations: 0 / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.9941, allocations: 0 / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.9943, allocations: 27.97 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.9943, allocations: 0 / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.9945, allocations: 23.86 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.9945, allocations: 0 / 1.279 GB, free: 15.56 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.0001303/0.9946, allocations: 122.3 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.9946, allocations: 11.94 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.9947, allocations: 8.375 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.9947, allocations: 4 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.9947, allocations: 0 / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.9947, allocations: 3.938 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.995, allocations: 197.6 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.995, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.9951, allocations: 35.91 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.9951, allocations: 4 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.9951, allocations: 4 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.9951, allocations: 0 / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.9951, allocations: 0 / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.9957, allocations: 239.3 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.9957, allocations: 85.06 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.9958, allocations: 7.984 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.9959, allocations: 11.98 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.246e-05/0.996, allocations: 19.92 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.996, allocations: 7.984 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.802e-05/0.9961, allocations: 91.27 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9961, allocations: 0 / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000251/0.9963, allocations: 20 kB / 1.279 GB, free: 14.61 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.0001568/0.9965, allocations: 103.2 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004687/0.997, allocations: 99.89 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.997, allocations: 0 / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.9972, allocations: 67.88 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.9975, allocations: 8 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/0.998, allocations: 190.1 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.9984, allocations: 0.6923 MB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.407e-05/0.9985, allocations: 12 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.9985, allocations: 23.42 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.9985, allocations: 0 / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of Templates: time 0.00473/1.003, allocations: 1.604 MB / 1.282 GB, free: 11.76 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 -s cvode -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_2/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.197637699078768]