Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001198/0.001198, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001544/0.002742, allocations: 449.7 kB / 10.37 MB, free: 328 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.001049/0.001049, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001297/0.002346, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9354/0.9354, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09962/1.035, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.827/1.827, allocations: 378.2 MB / 0.6076 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5437/2.371, allocations: 123.3 MB / 0.728 GB, free: 5.863 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0.6562 kB / 0.7293 GB, free: 4.562 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087e-05/1.272e-05, allocations: 11.22 kB / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001157/0.001169, allocations: 0.8152 MB / 0.7301 GB, free: 3.762 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007837/0.001953, allocations: 0.9122 MB / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.00199, allocations: 4.594 kB / 0.731 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.002014, allocations: 4.625 kB / 0.731 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.553e-05/0.002059, allocations: 11.2 kB / 0.731 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.069e-05/0.00214, allocations: 50 kB / 0.7311 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.749e-05/0.002238, allocations: 82.14 kB / 0.7312 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.002327, allocations: 16.53 kB / 0.7312 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.002438, allocations: 68.69 kB / 0.7313 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.792e-05/0.002506, allocations: 34.69 kB / 0.7313 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.00253, allocations: 10.72 kB / 0.7313 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.002542, allocations: 8 kB / 0.7313 GB, free: 2.582 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.00256, allocations: 15.94 kB / 0.7313 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.002589, allocations: 15.94 kB / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.875e-05/0.002688, allocations: 55.77 kB / 0.7314 GB, free: 2.496 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.52e-05/0.002703, allocations: 4 kB / 0.7314 GB, free: 2.492 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002704, allocations: 0.5 kB / 0.7314 GB, free: 2.492 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.002718, allocations: 1.438 kB / 0.7314 GB, free: 2.492 MB / 0.698 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.0004171/0.003135, allocations: 292.3 kB / 0.7317 GB, free: 2.184 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.003167, allocations: 8.031 kB / 0.7317 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.003198, allocations: 9.594 kB / 0.7317 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.003309, allocations: 121.7 kB / 0.7318 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.003332, allocations: 5.062 kB / 0.7318 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.003346, allocations: 14.03 kB / 0.7318 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.00349, allocations: 90.2 kB / 0.7319 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.003498, allocations: 3.938 kB / 0.7319 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.003508, allocations: 8 kB / 0.7319 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.003513, allocations: 0.8125 kB / 0.7319 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.305e-05/0.003556, allocations: 16.48 kB / 0.7319 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.003833, allocations: 196.9 kB / 0.7321 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.004053, allocations: 68.25 kB / 0.7322 GB, free: 1.605 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.00408, allocations: 16.84 kB / 0.7322 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.004095, allocations: 4.875 kB / 0.7322 GB, free: 1.582 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.004116, allocations: 34.56 kB / 0.7322 GB, free: 1.539 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.004117, allocations: 0 / 0.7322 GB, free: 1.539 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001412/0.004258, allocations: 74.91 kB / 0.7323 GB, free: 1.461 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.004289, allocations: 55.39 kB / 0.7324 GB, free: 1.395 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.965e-05/0.004348, allocations: 124.4 kB / 0.7325 GB, free: 1.262 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.004359, allocations: 25.7 kB / 0.7325 GB, free: 1.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.004394, allocations: 100 kB / 0.7326 GB, free: 1.129 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.004413, allocations: 15.86 kB / 0.7326 GB, free: 1.113 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.004446, allocations: 25.69 kB / 0.7326 GB, free: 1.082 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.004521, allocations: 323.4 kB / 0.733 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.004537, allocations: 5 kB / 0.733 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.684e-05/0.004554, allocations: 8 kB / 0.733 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.132e-05/0.004595, allocations: 29.36 kB / 0.733 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.004597, allocations: 5.062 kB / 0.733 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.514e-05/0.004663, allocations: 61.61 kB / 0.7331 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.004673, allocations: 7.688 kB / 0.7331 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.004677, allocations: 0 / 0.7331 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-06/0.004684, allocations: 0.5312 kB / 0.7331 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.822e-05/0.004763, allocations: 24.91 kB / 0.7331 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.004765, allocations: 3.938 kB / 0.7331 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.004814, allocations: 12 kB / 0.7331 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.00482, allocations: 4.859 kB / 0.7331 GB, free: 0.5977 MB / 0.698 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.498e-05/0.004875, allocations: 115.4 kB / 0.7332 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.004888, allocations: 4 kB / 0.7332 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.004912, allocations: 16.44 kB / 0.7332 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.004913, allocations: 0 / 0.7332 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.004915, allocations: 0 / 0.7332 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.004919, allocations: 9.031 kB / 0.7332 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.694e-05/0.005016, allocations: 93.83 kB / 0.7333 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.005017, allocations: 1.125 kB / 0.7333 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.063e-05/0.005068, allocations: 23.97 kB / 0.7334 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.00508, allocations: 15.89 kB / 0.7334 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.005081, allocations: 0.5938 kB / 0.7334 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.005086, allocations: 0 / 0.7334 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005087, allocations: 1.125 kB / 0.7334 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.005088, allocations: 0 / 0.7334 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.005239, allocations: 160.4 kB / 0.7335 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.005253, allocations: 7.984 kB / 0.7335 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.489e-05/0.005298, allocations: 5.25 kB / 0.7335 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.005355, allocations: 23.97 kB / 0.7336 GB, free: 92 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.005359, allocations: 3.938 kB / 0.7336 GB, free: 88 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.649e-05/0.005375, allocations: 16.84 kB / 0.7336 GB, free: 68 kB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/0.005375, allocations: 5.031 kB / 0.7336 GB, free: 64 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001157/0.005491, allocations: 12 kB / 0.7336 GB, free: 52 kB / 0.698 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 8.079e-05/0.005572, allocations: 82.72 kB / 0.7337 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.92e-05/0.005661, allocations: 41.45 kB / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.005666, allocations: 0 / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.988e-05/0.005706, allocations: 28.78 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.005859, allocations: 25.97 kB / 0.7338 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.006297, allocations: 170.4 kB / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.507e-05/0.006332, allocations: 66.09 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.296e-05/0.006375, allocations: 22.39 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.006448, allocations: 63.36 kB / 0.7341 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.006448, allocations: 4 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.003085/0.009533, allocations: 1.745 MB / 0.7358 GB, free: 13.84 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract/Buildings_12_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: 4.734709315001965]