Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008489/0.0008489, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001377/0.001377, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8852/0.8852, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.787/1.787, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.03e-05, allocations: 9.031 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00132/0.00135, allocations: 0.7523 MB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008609/0.002211, allocations: 0.8828 MB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.002259, allocations: 7.938 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.002291, allocations: 3.938 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.863e-05/0.00237, allocations: 7.875 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.002535, allocations: 47.81 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.002639, allocations: 83.83 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.002764, allocations: 27.91 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.776e-05/0.002862, allocations: 43.95 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.002931, allocations: 47.88 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.002963, allocations: 8 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.002975, allocations: 8 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.003001, allocations: 19.91 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.003033, allocations: 27.92 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.003161, allocations: 91.7 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.003165, allocations: 7.938 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.533e-06/0.003166, allocations: 0 / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.00317, allocations: 0 / 1.003 GB, free: 10.91 MB / 0.9636 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.0004466/0.003617, allocations: 318.1 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.003653, allocations: 8.75 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.00369, allocations: 16.83 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.003794, allocations: 113.7 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.00381, allocations: 4.375 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.003823, allocations: 8.375 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.004024, allocations: 106.2 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.004034, allocations: 3.938 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.004044, allocations: 0 / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.004049, allocations: 8 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.004247, allocations: 99.83 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/0.004873, allocations: 276.3 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.005241, allocations: 118.5 kB / 1.004 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.005342, allocations: 60.81 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.005359, allocations: 4 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.005376, allocations: 30.56 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.005378, allocations: 0 / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0003945/0.005773, allocations: 181.5 kB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.005804, allocations: 55.34 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.1e-05/0.005875, allocations: 125.8 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.005887, allocations: 25.7 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.005929, allocations: 96.08 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.00595, allocations: 19.84 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.005986, allocations: 21.7 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.534e-05/0.006062, allocations: 322.8 kB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.867e-05/0.00616, allocations: 47.94 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.764e-05/0.006248, allocations: 52.2 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.006433, allocations: 100.9 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006435, allocations: 0 / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002229/0.006658, allocations: 145.5 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.006672, allocations: 5.719 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.006681, allocations: 0 / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.006694, allocations: 4 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.484e-05/0.006779, allocations: 23.97 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.006784, allocations: 0 / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.066e-05/0.006835, allocations: 11.98 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.006842, allocations: 0 / 1.005 GB, free: 8.375 MB / 0.9636 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 7.14e-05/0.006913, allocations: 125.8 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.006931, allocations: 7.953 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.148e-05/0.006952, allocations: 8.438 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.006955, allocations: 0 / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.006959, allocations: 7.938 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006961, allocations: 0 / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.007082, allocations: 137.2 kB / 1.006 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007083, allocations: 0 / 1.006 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.76e-05/0.00715, allocations: 27.91 kB / 1.006 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.007153, allocations: 7.984 kB / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.007163, allocations: 4 kB / 1.006 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.007165, allocations: 3.984 kB / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.007166, allocations: 0 / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.007417, allocations: 231.4 kB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.007428, allocations: 7.938 kB / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.007442, allocations: 4 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.285e-05/0.007505, allocations: 15.98 kB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.007569, allocations: 23.97 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.007575, allocations: 4 kB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.32e-05/0.007618, allocations: 95.27 kB / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007618, allocations: 0 / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001509/0.007769, allocations: 15.94 kB / 1.006 GB, free: 7.605 MB / 0.9636 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 9.188e-05/0.007861, allocations: 99.19 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.008104, allocations: 107.9 kB / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008105, allocations: 0 / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.865e-05/0.008204, allocations: 59.89 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.008428, allocations: 11.92 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.008764, allocations: 197.4 kB / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.767e-05/0.008812, allocations: 83.27 kB / 1.006 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.008861, allocations: 20.48 kB / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.008862, allocations: 0 / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of Templates: time 0.001888/0.01075, allocations: 1.257 MB / 1.008 GB, free: 5.719 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.472865373827517]