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.001528/0.001528, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001729/0.001729, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.059/1.059, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.951/1.951, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 178] 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 3.657e-06/3.657e-06, allocations: 0 / 0.8115 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.196e-05/3.562e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002602/0.002638, allocations: 0.7702 MB / 0.8123 GB, free: 172 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.003696, allocations: 0.915 MB / 0.8132 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.003748, allocations: 0 / 0.8132 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.686e-05/0.003785, allocations: 7.875 kB / 0.8132 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.469e-05/0.003879, allocations: 13.27 kB / 0.8132 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.004069, allocations: 43.89 kB / 0.8132 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.004185, allocations: 83.73 kB / 0.8133 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.00431, allocations: 20.78 kB / 0.8133 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.004422, allocations: 51.89 kB / 0.8134 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.004494, allocations: 40.84 kB / 0.8134 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.004524, allocations: 8 kB / 0.8134 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.004537, allocations: 8 kB / 0.8135 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.004567, allocations: 24.5 kB / 0.8135 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.004603, allocations: 24.48 kB / 0.8135 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.004736, allocations: 63.73 kB / 0.8136 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.004741, allocations: 1.25 kB / 0.8136 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.934e-06/0.004743, allocations: 0 / 0.8136 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.00475, allocations: 3.984 kB / 0.8136 GB, free: 14.86 MB / 0.7292 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.0004978/0.005248, allocations: 406.4 kB / 0.814 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.005291, allocations: 8.031 kB / 0.814 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.005347, allocations: 12.89 kB / 0.814 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.005469, allocations: 128.4 kB / 0.8141 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.005495, allocations: 4.375 kB / 0.8141 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.005511, allocations: 8.375 kB / 0.8141 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.005716, allocations: 100.8 kB / 0.8142 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.005725, allocations: 3.938 kB / 0.8142 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.005739, allocations: 4 kB / 0.8142 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.005748, allocations: 4 kB / 0.8142 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.442e-05/0.005822, allocations: 29.22 kB / 0.8142 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.006273, allocations: 319.5 kB / 0.8145 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.006588, allocations: 76.22 kB / 0.8146 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.006639, allocations: 28.55 kB / 0.8146 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.006658, allocations: 8.797 kB / 0.8147 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.006682, allocations: 37.33 kB / 0.8147 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.006684, allocations: 0.5312 kB / 0.8147 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003756/0.007059, allocations: 86.98 kB / 0.8148 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.007101, allocations: 51.41 kB / 0.8148 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.007213, allocations: 185.8 kB / 0.815 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.00723, allocations: 30.86 kB / 0.815 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.007287, allocations: 142.8 kB / 0.8152 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.007312, allocations: 19.8 kB / 0.8152 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.007354, allocations: 32.08 kB / 0.8152 GB, free: 13 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.007474, allocations: 0.4922 MB / 0.8157 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.91e-05/0.007513, allocations: 8.656 kB / 0.8157 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/0.007546, allocations: 20.88 kB / 0.8157 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.429e-05/0.00762, allocations: 39.67 kB / 0.8158 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007622, allocations: 1.281 kB / 0.8158 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001222/0.007744, allocations: 73.62 kB / 0.8158 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.00776, allocations: 4.844 kB / 0.8158 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.007765, allocations: 0 / 0.8158 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.007782, allocations: 5.594 kB / 0.8158 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.812e-05/0.00788, allocations: 19.97 kB / 0.8159 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.007887, allocations: 3.938 kB / 0.8159 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.824e-05/0.007925, allocations: 4 kB / 0.8159 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.007933, allocations: 4.938 kB / 0.8159 GB, free: 12.3 MB / 0.7292 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 8.585e-05/0.008019, allocations: 164.5 kB / 0.816 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.008042, allocations: 11.36 kB / 0.816 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.008072, allocations: 12.44 kB / 0.8161 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.008075, allocations: 0 / 0.8161 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.00808, allocations: 4 kB / 0.8161 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.008084, allocations: 0 / 0.8161 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.008212, allocations: 144.5 kB / 0.8162 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.008213, allocations: 0 / 0.8162 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.008273, allocations: 15.98 kB / 0.8162 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.008275, allocations: 0 / 0.8162 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.008286, allocations: 8.484 kB / 0.8162 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.008288, allocations: 1.938 kB / 0.8162 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008289, allocations: 0 / 0.8162 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.008461, allocations: 231.7 kB / 0.8164 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.008475, allocations: 15.89 kB / 0.8165 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.00849, allocations: 0 / 0.8165 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.732e-05/0.008547, allocations: 13.3 kB / 0.8165 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.008622, allocations: 19.97 kB / 0.8165 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.008628, allocations: 4 kB / 0.8165 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.71e-05/0.008675, allocations: 136.5 kB / 0.8166 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008675, allocations: 0 / 0.8166 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001685/0.008843, allocations: 19.94 kB / 0.8166 GB, free: 11.46 MB / 0.7292 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.0001184/0.008962, allocations: 96.16 kB / 0.8167 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.009095, allocations: 48.44 kB / 0.8168 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.009097, allocations: 0 / 0.8168 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.301e-05/0.00915, allocations: 36.95 kB / 0.8168 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.009364, allocations: 19.92 kB / 0.8168 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.00972, allocations: 173.5 kB / 0.817 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.413e-05/0.009764, allocations: 63.28 kB / 0.8171 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.538e-05/0.009809, allocations: 15.11 kB / 0.8171 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.009861, allocations: 20.5 kB / 0.8171 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of SimCode: time 6.52e-07/0.009862, allocations: 0 / 0.8171 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of Templates: time 0.003587/0.01345, allocations: 1.729 MB / 0.8188 GB, free: 9.254 MB / 0.7292 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","",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.286039293976501]