Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001219/0.001219, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001307/0.001307, allocations: 173 kB / 24.28 MB, free: 272 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.049/1.049, 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 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.887/1.887, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] 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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.361e-05/3.677e-05, allocations: 3.188 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001525/0.001561, allocations: 0.7664 MB / 0.7879 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000834/0.002395, allocations: 0.9066 MB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.002437, allocations: 5.562 kB / 0.7888 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.002476, allocations: 11.86 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.34e-05/0.002559, allocations: 3.938 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.002736, allocations: 49.03 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.002841, allocations: 87.77 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.002953, allocations: 23.97 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.696e-05/0.00305, allocations: 48.53 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.746e-05/0.003147, allocations: 39.88 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.00318, allocations: 9.406 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.374e-05/0.003194, allocations: 8 kB / 0.789 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.003218, allocations: 19.97 kB / 0.789 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.003247, allocations: 19.92 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.003354, allocations: 68.47 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003356, allocations: 0 / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.332e-06/0.003358, allocations: 4.844 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.003362, allocations: 0 / 0.7891 GB, free: 10.7 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004265/0.003789, allocations: 405 kB / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.003826, allocations: 8.625 kB / 0.7895 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.003872, allocations: 16.83 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.003984, allocations: 131.9 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.004008, allocations: 4.375 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.004024, allocations: 4.375 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.004193, allocations: 90.89 kB / 0.7898 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.004201, allocations: 3.938 kB / 0.7898 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.004215, allocations: 4 kB / 0.7898 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.004223, allocations: 4 kB / 0.7898 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.942e-05/0.004293, allocations: 28.64 kB / 0.7898 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.004701, allocations: 325.2 kB / 0.7901 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.00501, allocations: 83.08 kB / 0.7902 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.005061, allocations: 33 kB / 0.7902 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.005076, allocations: 0 / 0.7902 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.0051, allocations: 41.38 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.005101, allocations: 1.594 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002189/0.00532, allocations: 81.61 kB / 0.7903 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.005349, allocations: 51.41 kB / 0.7904 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.005466, allocations: 191.1 kB / 0.7906 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.005477, allocations: 25.7 kB / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.005525, allocations: 138.9 kB / 0.7907 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.005546, allocations: 19.78 kB / 0.7908 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.005582, allocations: 36.67 kB / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.005681, allocations: 0.4883 MB / 0.7913 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.38e-05/0.005715, allocations: 11.98 kB / 0.7913 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.005743, allocations: 8.531 kB / 0.7913 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.877e-05/0.005812, allocations: 48.59 kB / 0.7913 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005813, allocations: 0.875 kB / 0.7913 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001066/0.00592, allocations: 82.36 kB / 0.7914 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.005932, allocations: 4 kB / 0.7914 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.005935, allocations: 0.5312 kB / 0.7914 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.005952, allocations: 4 kB / 0.7914 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.006091, allocations: 17.36 kB / 0.7914 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.006096, allocations: 0 / 0.7914 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/0.006132, allocations: 7.984 kB / 0.7914 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.006138, allocations: 5.188 kB / 0.7914 GB, free: 8.141 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: 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 6.831e-05/0.006206, allocations: 160.5 kB / 0.7916 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.006226, allocations: 8.609 kB / 0.7916 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.006249, allocations: 12.44 kB / 0.7916 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.006251, allocations: 0.7188 kB / 0.7916 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.006255, allocations: 3.984 kB / 0.7916 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.006258, allocations: 1.219 kB / 0.7916 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.00637, allocations: 144.5 kB / 0.7918 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006371, allocations: 0 / 0.7918 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.075e-05/0.006421, allocations: 20.64 kB / 0.7918 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.006423, allocations: 0 / 0.7918 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.006434, allocations: 8.812 kB / 0.7918 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.006435, allocations: 0 / 0.7918 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.006435, allocations: 0.9375 kB / 0.7918 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.006581, allocations: 223.8 kB / 0.792 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.006592, allocations: 13.11 kB / 0.792 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.006606, allocations: 7.984 kB / 0.792 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.82e-05/0.006654, allocations: 4 kB / 0.792 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.006715, allocations: 24.94 kB / 0.7921 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.006719, allocations: 0 / 0.7921 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.006763, allocations: 141.5 kB / 0.7922 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006763, allocations: 0 / 0.7922 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001475/0.00691, allocations: 16 kB / 0.7922 GB, free: 7.312 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: 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 7.839e-05/0.006988, allocations: 99.17 kB / 0.7923 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.007106, allocations: 50.89 kB / 0.7923 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.007107, allocations: 0 / 0.7923 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.177e-05/0.007159, allocations: 43.59 kB / 0.7924 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.00735, allocations: 15.94 kB / 0.7924 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.00767, allocations: 174.7 kB / 0.7926 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.621e-05/0.007706, allocations: 60.41 kB / 0.7926 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.313e-05/0.007749, allocations: 10.78 kB / 0.7926 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.007802, allocations: 25.27 kB / 0.7927 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of SimCode: time 1.193e-06/0.007803, allocations: 0 / 0.7927 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of Templates: time 0.003118/0.01092, allocations: 1.712 MB / 0.7943 GB, free: 5.105 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.423692350042984]