Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001438/0.001438, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001476/0.001476, allocations: 161 kB / 23.82 MB, free: 0.75 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.001/1.001, allocations: 177.2 MB / 204.2 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.754/1.754, allocations: 359 MB / 0.6052 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.891e-05, allocations: 12.64 kB / 0.7872 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001184/0.001202, allocations: 0.7169 MB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008279/0.00203, allocations: 0.8564 MB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.002068, allocations: 0 / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.002101, allocations: 5.188 kB / 0.7887 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.907e-05/0.00217, allocations: 0 / 0.7887 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.873e-05/0.002238, allocations: 15.98 kB / 0.7887 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.37e-05/0.002322, allocations: 45.34 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.002427, allocations: 11.98 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.002515, allocations: 23.92 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.884e-05/0.002554, allocations: 15.97 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.002576, allocations: 5.094 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.194e-06/0.002583, allocations: 4 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.0026, allocations: 11.88 kB / 0.7888 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.002626, allocations: 12.61 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.366e-05/0.00271, allocations: 35.83 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.002712, allocations: 1.406 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.62e-07/0.002713, allocations: 0 / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.002718, allocations: 0 / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003563/0.003074, allocations: 377.6 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.003112, allocations: 8.031 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.003149, allocations: 9.891 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.93e-05/0.003229, allocations: 112.6 kB / 0.7894 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.003241, allocations: 384 / 0.7894 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.00325, allocations: 1.531 kB / 0.7894 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.003387, allocations: 66.94 kB / 0.7894 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.003394, allocations: 192 / 0.7894 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.003404, allocations: 1.094 kB / 0.7894 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.003411, allocations: 4.312 kB / 0.7895 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.842e-05/0.00345, allocations: 17.58 kB / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.00376, allocations: 263.8 kB / 0.7897 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.479e-05/0.003835, allocations: 27.06 kB / 0.7897 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.003867, allocations: 24.95 kB / 0.7898 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.003877, allocations: 3.984 kB / 0.7898 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.003898, allocations: 37.33 kB / 0.7898 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.003899, allocations: 1.594 kB / 0.7898 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001603/0.004059, allocations: 53.62 kB / 0.7899 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.004092, allocations: 51.41 kB / 0.7899 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.594e-05/0.004168, allocations: 165.9 kB / 0.7901 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.926e-06/0.004177, allocations: 27.05 kB / 0.7901 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.004224, allocations: 138.8 kB / 0.7902 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.004244, allocations: 3.953 kB / 0.7902 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.004273, allocations: 23.36 kB / 0.7903 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.004393, allocations: 499 kB / 0.7907 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.004411, allocations: 4 kB / 0.7907 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.314e-05/0.004424, allocations: 3.938 kB / 0.7907 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.617e-05/0.00446, allocations: 27.67 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.004463, allocations: 3.938 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.953e-05/0.004522, allocations: 41.66 kB / 0.7908 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.004541, allocations: 13.66 kB / 0.7908 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.004545, allocations: 0.5312 kB / 0.7908 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.004557, allocations: 0 / 0.7908 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.00464, allocations: 12.7 kB / 0.7908 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.004646, allocations: 0.5312 kB / 0.7908 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.004671, allocations: 9.297 kB / 0.7908 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.004678, allocations: 320 / 0.7908 GB, free: 8.43 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.35e-05/0.004741, allocations: 160.5 kB / 0.791 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.004754, allocations: 0.5312 kB / 0.791 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.004777, allocations: 15.94 kB / 0.791 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.004779, allocations: 1.375 kB / 0.791 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.004783, allocations: 0 / 0.791 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.004786, allocations: 0 / 0.791 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.135e-05/0.004877, allocations: 121.8 kB / 0.7911 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.004878, allocations: 0 / 0.7911 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.636e-05/0.004905, allocations: 11.98 kB / 0.7911 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.004906, allocations: 1.188 kB / 0.7911 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.004912, allocations: 0 / 0.7911 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.004914, allocations: 3.938 kB / 0.7911 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.004915, allocations: 1.75 kB / 0.7911 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.995e-05/0.005015, allocations: 195.8 kB / 0.7913 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-06/0.005021, allocations: 4 kB / 0.7913 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.246e-06/0.005029, allocations: 0 / 0.7913 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.747e-05/0.005067, allocations: 15.92 kB / 0.7914 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.0051, allocations: 6 kB / 0.7914 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.005102, allocations: 0 / 0.7914 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.79e-05/0.00514, allocations: 135.2 kB / 0.7915 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00514, allocations: 0 / 0.7915 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001324/0.005272, allocations: 8 kB / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 6.319e-05/0.005335, allocations: 91.97 kB / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.029e-05/0.005416, allocations: 23.48 kB / 0.7916 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.005417, allocations: 4 kB / 0.7916 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.383e-05/0.005441, allocations: 23.7 kB / 0.7916 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.005623, allocations: 11.92 kB / 0.7916 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.005888, allocations: 138.1 kB / 0.7918 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.381e-05/0.005921, allocations: 59.94 kB / 0.7918 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.011e-05/0.005942, allocations: 4.531 kB / 0.7918 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.00597, allocations: 10.12 kB / 0.7918 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.005971, allocations: 0 / 0.7918 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of Templates: time 0.002199/0.00817, allocations: 0.7849 MB / 0.7926 GB, free: 6.535 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_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: 4.878915035165846]