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.001185/0.001185, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001649/0.002834, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001022/0.001022, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009172/0.00194, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9257/0.9257, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09293/1.019, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.365/2.365, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2713/2.636, allocations: 145.9 MB / 0.817 GB, free: 4.188 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 2.414e-06/2.414e-06, allocations: 0 / 0.8183 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.824e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00219/0.002219, allocations: 0.8185 MB / 0.8191 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.00343, allocations: 0.9092 MB / 0.82 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.00348, allocations: 4 kB / 0.82 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.003514, allocations: 11.88 kB / 0.82 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.067e-05/0.003585, allocations: 19.84 kB / 0.82 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.003711, allocations: 35.84 kB / 0.8201 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.003845, allocations: 91.75 kB / 0.8201 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.003956, allocations: 23.97 kB / 0.8202 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.004109, allocations: 59.83 kB / 0.8202 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.58e-05/0.004195, allocations: 35.89 kB / 0.8203 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.004225, allocations: 8 kB / 0.8203 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.004242, allocations: 8 kB / 0.8203 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.004268, allocations: 19.94 kB / 0.8203 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.004302, allocations: 15.94 kB / 0.8203 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.004425, allocations: 59.75 kB / 0.8204 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.729e-05/0.004442, allocations: 0 / 0.8204 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004443, allocations: 0 / 0.8204 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.00446, allocations: 0 / 0.8204 GB, free: 0.7344 MB / 0.7917 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.0005179/0.004978, allocations: 300.3 kB / 0.8207 GB, free: 428 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.005016, allocations: 8.625 kB / 0.8207 GB, free: 420 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.005055, allocations: 4.938 kB / 0.8207 GB, free: 416 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.005172, allocations: 125.7 kB / 0.8208 GB, free: 264 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.0052, allocations: 8.375 kB / 0.8208 GB, free: 256 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.005214, allocations: 8.375 kB / 0.8208 GB, free: 248 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.005414, allocations: 86.89 kB / 0.8209 GB, free: 152 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.005422, allocations: 7.938 kB / 0.8209 GB, free: 144 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.005433, allocations: 3.938 kB / 0.8209 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.005439, allocations: 0 / 0.8209 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.208e-05/0.005501, allocations: 23.11 kB / 0.8209 GB, free: 120 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.006003, allocations: 188.3 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.006257, allocations: 74.34 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.006284, allocations: 16.86 kB / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.006301, allocations: 4 kB / 0.8212 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.006323, allocations: 34.55 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.006325, allocations: 0 / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001479/0.006473, allocations: 61.67 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.006502, allocations: 59.34 kB / 0.8213 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.884e-05/0.006561, allocations: 130.6 kB / 0.8215 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.006572, allocations: 25.7 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.133e-05/0.006603, allocations: 96.02 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.006623, allocations: 19.84 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.006659, allocations: 21.7 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.056e-05/0.006729, allocations: 322.8 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.006746, allocations: 4 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.617e-05/0.006763, allocations: 8 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.901e-05/0.006812, allocations: 33.28 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.006815, allocations: 11.94 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.925e-05/0.006884, allocations: 61.66 kB / 0.822 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.006899, allocations: 6.344 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.006904, allocations: 3.938 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.006913, allocations: 4 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.368e-05/0.006997, allocations: 23.97 kB / 0.8221 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.006999, allocations: 0 / 0.8221 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.65e-05/0.007036, allocations: 8 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.007041, allocations: 0 / 0.8221 GB, free: 14.82 MB / 0.8073 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 5.85e-05/0.007099, allocations: 125.8 kB / 0.8222 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.007116, allocations: 7.984 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.007137, allocations: 8.438 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.007139, allocations: 0 / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.007141, allocations: 0 / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007143, allocations: 0 / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.007245, allocations: 97.73 kB / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007246, allocations: 0 / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.007301, allocations: 27.97 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.007311, allocations: 7.938 kB / 0.8223 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.91e-07/0.007312, allocations: 7.875 kB / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.007318, allocations: 4 kB / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.007319, allocations: 0 / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.00732, allocations: 0 / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.007423, allocations: 151.5 kB / 0.8225 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.007434, allocations: 4 kB / 0.8225 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.751e-05/0.007481, allocations: 11.98 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.007537, allocations: 19.97 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.007541, allocations: 0 / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.735e-05/0.007558, allocations: 29.2 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007558, allocations: 4 kB / 0.8226 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001188/0.007677, allocations: 19.95 kB / 0.8226 GB, free: 14.26 MB / 0.8073 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.0001045/0.007782, allocations: 80.36 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.281e-05/0.007864, allocations: 36.83 kB / 0.8227 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.007871, allocations: 0 / 0.8227 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.007909, allocations: 36.77 kB / 0.8227 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.00807, allocations: 19.98 kB / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.008463, allocations: 165.2 kB / 0.8229 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.16e-05/0.008495, allocations: 59.34 kB / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.13e-05/0.008536, allocations: 15.94 kB / 0.823 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.008608, allocations: 67.36 kB / 0.823 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.008608, allocations: 0 / 0.823 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of Templates: time 0.003044/0.01165, allocations: 1.743 MB / 0.8247 GB, free: 12 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.050012290477753]