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.001182/0.001182, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002041/0.003223, allocations: 440 kB / 10.41 MB, free: 284 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.00106/0.00106, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001418/0.002478, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9752/0.9752, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1144/1.09, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.504/2.504, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2784/2.783, allocations: 146 MB / 0.8176 GB, free: 3.824 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.244e-06/2.244e-06, allocations: 0 / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.501e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001965/0.00199, allocations: 0.8187 MB / 0.8197 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00096/0.00295, allocations: 0.9092 MB / 0.8206 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.413e-05/0.002994, allocations: 0 / 0.8206 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.003029, allocations: 11.88 kB / 0.8206 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.38e-05/0.003093, allocations: 15.86 kB / 0.8207 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001071/0.0032, allocations: 39.89 kB / 0.8207 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.003312, allocations: 91.75 kB / 0.8208 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.003405, allocations: 11.98 kB / 0.8208 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.003532, allocations: 71.81 kB / 0.8209 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.021e-05/0.003623, allocations: 39.88 kB / 0.8209 GB, free: 472 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.003653, allocations: 8 kB / 0.8209 GB, free: 464 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.52e-05/0.003668, allocations: 8 kB / 0.8209 GB, free: 456 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.003695, allocations: 15.94 kB / 0.8209 GB, free: 440 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.003723, allocations: 15.94 kB / 0.8209 GB, free: 424 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.003845, allocations: 59.77 kB / 0.821 GB, free: 364 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.137e-05/0.003866, allocations: 0 / 0.821 GB, free: 364 kB / 0.7917 GB Notification: Performance of FrontEnd: time 8.71e-07/0.003867, allocations: 0 / 0.821 GB, free: 364 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.573e-05/0.003882, allocations: 4 kB / 0.821 GB, free: 360 kB / 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.0004999/0.004382, allocations: 292.3 kB / 0.8213 GB, free: 44 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.004417, allocations: 12.03 kB / 0.8213 GB, free: 32 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.004459, allocations: 4.938 kB / 0.8213 GB, free: 28 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.004583, allocations: 125.6 kB / 0.8214 GB, free: 15.88 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.004605, allocations: 4.375 kB / 0.8214 GB, free: 15.88 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.004623, allocations: 4.375 kB / 0.8214 GB, free: 15.87 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.00484, allocations: 94.88 kB / 0.8215 GB, free: 15.77 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.004849, allocations: 3.938 kB / 0.8215 GB, free: 15.77 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.004859, allocations: 4 kB / 0.8215 GB, free: 15.76 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.004868, allocations: 7.984 kB / 0.8215 GB, free: 15.75 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.112e-05/0.004919, allocations: 15.98 kB / 0.8216 GB, free: 15.74 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.005268, allocations: 192.2 kB / 0.8217 GB, free: 15.54 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.005529, allocations: 74.45 kB / 0.8218 GB, free: 15.45 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.005554, allocations: 12.86 kB / 0.8218 GB, free: 15.44 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.005569, allocations: 4 kB / 0.8218 GB, free: 15.43 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.005589, allocations: 30.56 kB / 0.8219 GB, free: 15.39 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.00559, allocations: 0 / 0.8219 GB, free: 15.39 MB / 0.8074 GB Notification: Performance of matching and sorting (n=7): time 0.0001402/0.00573, allocations: 69.61 kB / 0.8219 GB, free: 15.32 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.005755, allocations: 51.41 kB / 0.822 GB, free: 15.26 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.005825, allocations: 130.6 kB / 0.8221 GB, free: 15.12 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.005835, allocations: 25.7 kB / 0.8221 GB, free: 15.09 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.00587, allocations: 104 kB / 0.8222 GB, free: 14.98 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.005892, allocations: 19.84 kB / 0.8222 GB, free: 14.96 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.005924, allocations: 21.7 kB / 0.8223 GB, free: 14.93 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.006057, allocations: 318.8 kB / 0.8226 GB, free: 14.61 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.006076, allocations: 7.984 kB / 0.8226 GB, free: 14.61 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.006095, allocations: 8.312 kB / 0.8226 GB, free: 14.6 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.905e-05/0.006144, allocations: 40.89 kB / 0.8226 GB, free: 14.55 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.006147, allocations: 3.938 kB / 0.8226 GB, free: 14.55 MB / 0.8074 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.197e-05/0.006219, allocations: 61.67 kB / 0.8227 GB, free: 14.48 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.006231, allocations: 4 kB / 0.8227 GB, free: 14.48 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.006235, allocations: 0 / 0.8227 GB, free: 14.48 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.006247, allocations: 0 / 0.8227 GB, free: 14.48 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.134e-05/0.006329, allocations: 19.98 kB / 0.8227 GB, free: 14.46 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.006331, allocations: 0 / 0.8227 GB, free: 14.46 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.526e-05/0.006366, allocations: 11.98 kB / 0.8227 GB, free: 14.45 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.006373, allocations: 4 kB / 0.8227 GB, free: 14.45 MB / 0.8074 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.691e-05/0.00643, allocations: 113.7 kB / 0.8228 GB, free: 14.32 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.006448, allocations: 11.98 kB / 0.8228 GB, free: 14.31 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.006471, allocations: 16.44 kB / 0.8228 GB, free: 14.3 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.006473, allocations: 0 / 0.8228 GB, free: 14.3 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.006474, allocations: 0 / 0.8228 GB, free: 14.3 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.006476, allocations: 0 / 0.8228 GB, free: 14.3 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.996e-05/0.006576, allocations: 101.7 kB / 0.8229 GB, free: 14.18 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006577, allocations: 0 / 0.8229 GB, free: 14.18 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.364e-05/0.006631, allocations: 19.98 kB / 0.823 GB, free: 14.16 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.006641, allocations: 11.92 kB / 0.823 GB, free: 14.15 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.006642, allocations: 0 / 0.823 GB, free: 14.15 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.006648, allocations: 3.938 kB / 0.823 GB, free: 14.14 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.006648, allocations: 4 kB / 0.823 GB, free: 14.14 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006649, allocations: 0 / 0.823 GB, free: 14.14 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.006765, allocations: 163.4 kB / 0.8231 GB, free: 13.96 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.006776, allocations: 0 / 0.8231 GB, free: 13.96 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.636e-05/0.006822, allocations: 11.98 kB / 0.8232 GB, free: 13.95 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.006877, allocations: 23.97 kB / 0.8232 GB, free: 13.93 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.00688, allocations: 0 / 0.8232 GB, free: 13.93 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 1.844e-05/0.006899, allocations: 25.2 kB / 0.8232 GB, free: 13.9 MB / 0.8074 GB Notification: Performance of sort global known variables: time 4e-08/0.006899, allocations: 0 / 0.8232 GB, free: 13.9 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.000118/0.007017, allocations: 15.95 kB / 0.8232 GB, free: 13.89 MB / 0.8074 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.57e-05/0.007113, allocations: 84.42 kB / 0.8233 GB, free: 13.8 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 9.025e-05/0.007203, allocations: 32.84 kB / 0.8233 GB, free: 13.76 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.007209, allocations: 0 / 0.8233 GB, free: 13.76 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 4.844e-05/0.007257, allocations: 48.69 kB / 0.8234 GB, free: 13.71 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.007436, allocations: 75.33 kB / 0.8234 GB, free: 13.62 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.007867, allocations: 161.2 kB / 0.8236 GB, free: 13.44 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.203e-05/0.007909, allocations: 63.34 kB / 0.8237 GB, free: 13.36 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 4.453e-05/0.007954, allocations: 11.94 kB / 0.8237 GB, free: 13.34 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.832e-05/0.008042, allocations: 71.34 kB / 0.8237 GB, free: 13.27 MB / 0.8074 GB Notification: Performance of SimCode: time 9.62e-07/0.008043, allocations: 0 / 0.8237 GB, free: 13.27 MB / 0.8074 GB Notification: Performance of Templates: time 0.003345/0.01139, allocations: 1.694 MB / 0.8254 GB, free: 11.6 MB / 0.8074 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.392829787917435]