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.001007/0.001007, allocations: 83.59 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.001249/0.001249, allocations: 165 kB / 23.82 MB, free: 0.7461 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.046/1.046, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.919/1.919, allocations: 359 MB / 0.6052 GB, free: 11.02 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.106e-06/3.106e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.207e-05/3.518e-05, allocations: 4.781 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001654/0.001689, allocations: 0.7747 MB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.002864, allocations: 0.9108 MB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.00291, allocations: 0 / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/0.002946, allocations: 5 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.072e-05/0.003036, allocations: 7.875 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.003222, allocations: 49 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.003334, allocations: 91.75 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.003452, allocations: 19.98 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.003553, allocations: 53.66 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.476e-05/0.003627, allocations: 35.89 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.003654, allocations: 8 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.003667, allocations: 8 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.003692, allocations: 19.97 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.003729, allocations: 28.73 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.00386, allocations: 67.72 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.003864, allocations: 0.6875 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003865, allocations: 0 / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.003871, allocations: 1.344 kB / 0.7891 GB, free: 10.39 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.0004631/0.004335, allocations: 404.4 kB / 0.7895 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.004378, allocations: 8.031 kB / 0.7895 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.004428, allocations: 18.23 kB / 0.7896 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.004558, allocations: 120.5 kB / 0.7897 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.004583, allocations: 4.375 kB / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.0046, allocations: 9.438 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.0048, allocations: 94.83 kB / 0.7898 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.004811, allocations: 5.344 kB / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.004824, allocations: 0 / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.004833, allocations: 4 kB / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.618e-05/0.004909, allocations: 32.44 kB / 0.7898 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.005378, allocations: 327.5 kB / 0.7901 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.005723, allocations: 80.72 kB / 0.7902 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.005778, allocations: 27.67 kB / 0.7902 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.005801, allocations: 0 / 0.7902 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.005831, allocations: 44.02 kB / 0.7903 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.005832, allocations: 0 / 0.7903 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002424/0.006075, allocations: 85.61 kB / 0.7904 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.006105, allocations: 55.39 kB / 0.7904 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/0.006197, allocations: 182.2 kB / 0.7906 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.006209, allocations: 25.7 kB / 0.7906 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.006265, allocations: 139.5 kB / 0.7907 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.00629, allocations: 19.8 kB / 0.7908 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.006329, allocations: 33.02 kB / 0.7908 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.00645, allocations: 0.4961 MB / 0.7913 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-05/0.00649, allocations: 4 kB / 0.7913 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.103e-05/0.006521, allocations: 17.12 kB / 0.7913 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.07e-05/0.006591, allocations: 40.14 kB / 0.7913 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.006594, allocations: 0 / 0.7913 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001184/0.006712, allocations: 82.88 kB / 0.7914 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.006729, allocations: 4 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.006734, allocations: 0 / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.006754, allocations: 5.75 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.006843, allocations: 19.97 kB / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.006849, allocations: 0 / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.737e-05/0.006887, allocations: 4 kB / 0.7914 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.006897, allocations: 8.5 kB / 0.7914 GB, free: 7.84 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 8.683e-05/0.006984, allocations: 161.5 kB / 0.7916 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.00701, allocations: 11.95 kB / 0.7916 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.007042, allocations: 14.31 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.007046, allocations: 3.984 kB / 0.7916 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.007051, allocations: 0 / 0.7916 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.007054, allocations: 0 / 0.7916 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.007194, allocations: 148.5 kB / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.007195, allocations: 2.031 kB / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.007254, allocations: 15.98 kB / 0.7918 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.007256, allocations: 0 / 0.7918 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.007269, allocations: 7.984 kB / 0.7918 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.007269, allocations: 0 / 0.7918 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.007271, allocations: 0 / 0.7918 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.007471, allocations: 228.9 kB / 0.792 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.007485, allocations: 7.891 kB / 0.792 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.007502, allocations: 0.7188 kB / 0.792 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.433e-05/0.007556, allocations: 4.531 kB / 0.792 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.007632, allocations: 31.95 kB / 0.7921 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.007637, allocations: 5.438 kB / 0.7921 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002818/0.007919, allocations: 143.2 kB / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007919, allocations: 0 / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000155/0.008074, allocations: 12 kB / 0.7922 GB, free: 7.004 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 0.0001046/0.008179, allocations: 97.16 kB / 0.7923 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.008319, allocations: 43.66 kB / 0.7923 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.008321, allocations: 0 / 0.7923 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.218e-05/0.008383, allocations: 44.45 kB / 0.7924 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.008612, allocations: 24.77 kB / 0.7924 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.009047, allocations: 180 kB / 0.7926 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.259e-05/0.009099, allocations: 59.34 kB / 0.7926 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.941e-05/0.009149, allocations: 11.88 kB / 0.7927 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.009209, allocations: 24.48 kB / 0.7927 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of SimCode: time 1.493e-06/0.00921, allocations: 3.469 kB / 0.7927 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of Templates: time 0.003785/0.013, allocations: 1.709 MB / 0.7943 GB, free: 4.801 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.555507781915367]