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.001856/0.001856, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.002802/0.002802, allocations: 161.3 kB / 23.55 MB, free: 0.875 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 1.702/1.702, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.1/3.1, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.484e-06/2.484e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.525e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002349/0.002384, allocations: 0.7757 MB / 0.8116 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.003694, allocations: 0.8835 MB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.003744, allocations: 4 kB / 0.8124 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.003776, allocations: 4.812 kB / 0.8125 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.682e-05/0.003873, allocations: 7.875 kB / 0.8125 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.004065, allocations: 48.78 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.004209, allocations: 87.77 kB / 0.8126 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.004332, allocations: 25.66 kB / 0.8126 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.004481, allocations: 47.89 kB / 0.8127 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 9.23e-05/0.004573, allocations: 31.95 kB / 0.8127 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.004604, allocations: 8 kB / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.251e-05/0.004627, allocations: 13.47 kB / 0.8127 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.004668, allocations: 27.95 kB / 0.8127 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.004712, allocations: 19.92 kB / 0.8128 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.004892, allocations: 99.64 kB / 0.8129 GB, free: 32 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.004896, allocations: 1.375 kB / 0.8129 GB, free: 32 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004897, allocations: 0 / 0.8129 GB, free: 32 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.004901, allocations: 0 / 0.8129 GB, free: 32 kB / 0.7605 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.0007368/0.005638, allocations: 409.8 kB / 0.8132 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.005676, allocations: 8.031 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.005735, allocations: 12.89 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.005896, allocations: 124.5 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.005914, allocations: 4.375 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.005933, allocations: 9.5 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.006211, allocations: 98.06 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.006227, allocations: 5 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.006242, allocations: 4 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.006249, allocations: 4 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.006521, allocations: 68.83 kB / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006303/0.007152, allocations: 341.7 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000611/0.007763, allocations: 111.1 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.00792, allocations: 51.66 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.007945, allocations: 0.5312 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.007982, allocations: 38.11 kB / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.007983, allocations: 0 / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0005675/0.008551, allocations: 151.6 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.008603, allocations: 55.41 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.008778, allocations: 189.9 kB / 0.8145 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.008805, allocations: 29.7 kB / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.008911, allocations: 143.5 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.008944, allocations: 19.8 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/0.009012, allocations: 32.2 kB / 0.8147 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0005718/0.009583, allocations: 0.4922 MB / 0.8152 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.00972, allocations: 36.5 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.009837, allocations: 32.61 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.0101, allocations: 89.55 kB / 0.8153 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.0101, allocations: 0 / 0.8153 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003365/0.01043, allocations: 118.5 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.01045, allocations: 5.219 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01046, allocations: 0 / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.01047, allocations: 0 / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.01062, allocations: 20.94 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.01063, allocations: 7.938 kB / 0.8155 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.01071, allocations: 4 kB / 0.8155 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.01072, allocations: 2.312 kB / 0.8155 GB, free: 13.17 MB / 0.7761 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.0001564/0.01088, allocations: 168.5 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.01092, allocations: 11.89 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.01096, allocations: 16.44 kB / 0.8156 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01096, allocations: 0 / 0.8156 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01097, allocations: 3.312 kB / 0.8157 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.01097, allocations: 0 / 0.8157 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.01119, allocations: 148.5 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.01119, allocations: 4 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.01133, allocations: 15.98 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01133, allocations: 0 / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.01135, allocations: 7.984 kB / 0.8158 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.01135, allocations: 0 / 0.8158 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01135, allocations: 0 / 0.8158 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.0118, allocations: 272.8 kB / 0.8161 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.01182, allocations: 8.453 kB / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.01184, allocations: 3.938 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.01195, allocations: 8.562 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/0.01204, allocations: 20.53 kB / 0.8161 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.01205, allocations: 16.56 kB / 0.8161 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.642e-05/0.01215, allocations: 135.2 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01215, allocations: 1.625 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002372/0.01239, allocations: 15.94 kB / 0.8163 GB, free: 12.27 MB / 0.7761 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.0001505/0.01254, allocations: 104.3 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.01289, allocations: 91.62 kB / 0.8165 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01289, allocations: 1.094 kB / 0.8165 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.01306, allocations: 59.59 kB / 0.8165 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.01337, allocations: 20.53 kB / 0.8165 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.01388, allocations: 179.3 kB / 0.8167 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.344e-05/0.01397, allocations: 81.19 kB / 0.8168 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.883e-05/0.01404, allocations: 11.22 kB / 0.8168 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/0.01412, allocations: 24.42 kB / 0.8168 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.01412, allocations: 5 kB / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of Templates: time 0.005519/0.01964, allocations: 1.71 MB / 0.8185 GB, free: 9.969 MB / 0.7761 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.464060783968307]