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.001126/0.001126, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.000995/0.000995, allocations: 165 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 0.9355/0.9355, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.871/1.871, 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 2.935e-06/2.935e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.405e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001727/0.001761, allocations: 0.7866 MB / 0.7879 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.002883, allocations: 0.9068 MB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.002934, allocations: 0 / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.002971, allocations: 9.125 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.061e-05/0.003062, allocations: 11.88 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.003252, allocations: 41.34 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.003363, allocations: 91.7 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.003481, allocations: 23.97 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.003588, allocations: 43.91 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.003666, allocations: 41.16 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.003693, allocations: 8 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.00371, allocations: 8 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.003735, allocations: 20.55 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.00377, allocations: 27.89 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.00389, allocations: 65.2 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003892, allocations: 0 / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.302e-06/0.003894, allocations: 0 / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.003898, allocations: 0 / 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.0004486/0.004347, allocations: 401.3 kB / 0.7895 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.004392, allocations: 15.95 kB / 0.7895 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.004449, allocations: 21.73 kB / 0.7896 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.004562, allocations: 116.5 kB / 0.7897 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.004592, allocations: 9.375 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.004607, allocations: 4.375 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.004805, allocations: 91.45 kB / 0.7898 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.004814, allocations: 4.656 kB / 0.7898 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.004826, allocations: 0 / 0.7898 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.004835, allocations: 5.656 kB / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.96e-05/0.004905, allocations: 35.84 kB / 0.7898 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.00534, allocations: 328.7 kB / 0.7901 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.005651, allocations: 79.08 kB / 0.7902 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.0057, allocations: 29.27 kB / 0.7902 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.005716, allocations: 0 / 0.7902 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.005744, allocations: 41.39 kB / 0.7903 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.005745, allocations: 1.188 kB / 0.7903 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002186/0.005964, allocations: 81.66 kB / 0.7903 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.005998, allocations: 58.41 kB / 0.7904 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.272e-05/0.006091, allocations: 185.9 kB / 0.7906 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.006107, allocations: 25.7 kB / 0.7906 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.006166, allocations: 138.9 kB / 0.7907 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.006193, allocations: 19.8 kB / 0.7908 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.006234, allocations: 31.36 kB / 0.7908 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.006365, allocations: 0.4883 MB / 0.7913 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.716e-05/0.006402, allocations: 11.98 kB / 0.7913 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.044e-05/0.006433, allocations: 16.52 kB / 0.7913 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.131e-05/0.006504, allocations: 36.77 kB / 0.7913 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.006507, allocations: 0.5312 kB / 0.7913 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000133/0.00664, allocations: 82.8 kB / 0.7914 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.006655, allocations: 4 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.006662, allocations: 0 / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.006675, allocations: 0.5312 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.006766, allocations: 21.36 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.006772, allocations: 0 / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.006812, allocations: 11.98 kB / 0.7914 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.006819, allocations: 4 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 7.824e-05/0.006898, allocations: 161.7 kB / 0.7916 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.00692, allocations: 15.89 kB / 0.7916 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.006947, allocations: 17.45 kB / 0.7916 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.00695, allocations: 0 / 0.7916 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.006954, allocations: 0 / 0.7916 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.006957, allocations: 1.75 kB / 0.7916 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.007304, allocations: 140.5 kB / 0.7918 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007305, allocations: 0 / 0.7918 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.238e-05/0.007368, allocations: 19.92 kB / 0.7918 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.00737, allocations: 2.156 kB / 0.7918 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.00738, allocations: 4 kB / 0.7918 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.007383, allocations: 8 kB / 0.7918 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007384, allocations: 0 / 0.7918 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.007565, allocations: 223.8 kB / 0.792 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.007582, allocations: 16.44 kB / 0.792 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.007597, allocations: 0 / 0.792 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.214e-05/0.007649, allocations: 11.44 kB / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.007724, allocations: 23.97 kB / 0.7921 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.007731, allocations: 3.984 kB / 0.7921 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.993e-05/0.007781, allocations: 139.2 kB / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007781, allocations: 0 / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001521/0.007933, 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.0001091/0.008043, allocations: 99.19 kB / 0.7923 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.008171, allocations: 48.16 kB / 0.7924 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008172, allocations: 0.5 kB / 0.7924 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.539e-05/0.008228, allocations: 40.17 kB / 0.7924 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.00844, allocations: 17.39 kB / 0.7924 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.008842, allocations: 175.3 kB / 0.7926 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.469e-05/0.008887, allocations: 61.03 kB / 0.7926 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.728e-05/0.008934, allocations: 10.66 kB / 0.7926 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.008992, allocations: 24.48 kB / 0.7927 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of SimCode: time 1.252e-06/0.008994, allocations: 1.344 kB / 0.7927 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of Templates: time 0.003824/0.01282, allocations: 1.815 MB / 0.7944 GB, free: 4.703 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.038110273890197]