Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001038/0.001038, allocations: 81.86 kB / 19.87 MB, free: 4.617 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.0009947/0.0009947, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9079/0.9079, allocations: 177.1 MB / 203.7 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.329/2.329, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253e-05/1.403e-05, allocations: 5.547 kB / 0.8898 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001132/0.001146, allocations: 0.7872 MB / 0.8905 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000802/0.001948, allocations: 0.9053 MB / 0.8914 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.001989, allocations: 4 kB / 0.8914 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.002014, allocations: 3.938 kB / 0.8914 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.855e-05/0.002093, allocations: 7.875 kB / 0.8914 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.002226, allocations: 47.81 kB / 0.8915 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.932e-05/0.002306, allocations: 83.83 kB / 0.8916 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.802e-05/0.002394, allocations: 19.97 kB / 0.8916 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.975e-05/0.002483, allocations: 51.89 kB / 0.8916 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.002543, allocations: 35.89 kB / 0.8917 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.002564, allocations: 8 kB / 0.8917 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.002576, allocations: 12 kB / 0.8917 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.002599, allocations: 23.91 kB / 0.8917 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.002627, allocations: 23.91 kB / 0.8917 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.352e-05/0.002721, allocations: 63.73 kB / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.002725, allocations: 4 kB / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.91e-07/0.002725, allocations: 0 / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.002728, allocations: 0 / 0.8918 GB, free: 7.629 MB / 0.8542 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.0003319/0.00306, allocations: 408.3 kB / 0.8922 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.003093, allocations: 12.62 kB / 0.8922 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.00312, allocations: 8.891 kB / 0.8922 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.944e-05/0.00319, allocations: 128.5 kB / 0.8923 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.003207, allocations: 12.38 kB / 0.8923 GB, free: 7.012 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.003218, allocations: 4.375 kB / 0.8923 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.003347, allocations: 90.83 kB / 0.8924 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.003353, allocations: 7.938 kB / 0.8924 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.003361, allocations: 0 / 0.8924 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.003365, allocations: 0 / 0.8924 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.382e-05/0.003409, allocations: 23.97 kB / 0.8924 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.003708, allocations: 304.1 kB / 0.8927 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.003921, allocations: 71.14 kB / 0.8928 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.00395, allocations: 23.67 kB / 0.8928 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.003966, allocations: 3.984 kB / 0.8928 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.003985, allocations: 37.39 kB / 0.8929 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.003987, allocations: 0 / 0.8929 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0001454/0.004132, allocations: 89.55 kB / 0.893 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.004155, allocations: 51.41 kB / 0.893 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.004222, allocations: 181.9 kB / 0.8932 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.004232, allocations: 25.7 kB / 0.8932 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.004274, allocations: 138.8 kB / 0.8933 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.004294, allocations: 27.78 kB / 0.8934 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.004326, allocations: 27.36 kB / 0.8934 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.004432, allocations: 0.4884 MB / 0.8939 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/0.004454, allocations: 11.98 kB / 0.8939 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.004473, allocations: 8 kB / 0.8939 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.915e-05/0.004522, allocations: 39.59 kB / 0.8939 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.004523, allocations: 7.938 kB / 0.8939 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.882e-05/0.004612, allocations: 65.64 kB / 0.894 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.004622, allocations: 7.984 kB / 0.894 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.004625, allocations: 0 / 0.894 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.004635, allocations: 4 kB / 0.894 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.004702, allocations: 15.98 kB / 0.894 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.004705, allocations: 0 / 0.894 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.237e-05/0.004737, allocations: 4 kB / 0.894 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.004744, allocations: 11.98 kB / 0.894 GB, free: 5.125 MB / 0.8542 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.355e-05/0.004808, allocations: 160.5 kB / 0.8942 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.004826, allocations: 11.89 kB / 0.8942 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.004847, allocations: 12.44 kB / 0.8942 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.004848, allocations: 0 / 0.8942 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.004849, allocations: 0 / 0.8942 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.004851, allocations: 0 / 0.8942 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.004951, allocations: 117.2 kB / 0.8943 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.004953, allocations: 4 kB / 0.8943 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/0.004999, allocations: 23.92 kB / 0.8943 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.005, allocations: 4 kB / 0.8943 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.005007, allocations: 4 kB / 0.8944 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.92e-07/0.005007, allocations: 0 / 0.8944 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.005009, allocations: 3.984 kB / 0.8944 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.005124, allocations: 212.4 kB / 0.8946 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.005136, allocations: 27.75 kB / 0.8946 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-06/0.005145, allocations: 0 / 0.8946 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.677e-05/0.005192, allocations: 8 kB / 0.8946 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.005241, allocations: 27.91 kB / 0.8946 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.005246, allocations: 3.984 kB / 0.8946 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.491e-05/0.005281, allocations: 139.2 kB / 0.8948 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005281, allocations: 0 / 0.8948 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001367/0.005418, allocations: 16 kB / 0.8948 GB, free: 4.309 MB / 0.8542 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 5.862e-05/0.005476, allocations: 95.25 kB / 0.8949 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.025e-05/0.005557, allocations: 39.72 kB / 0.8949 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.005558, allocations: 4 kB / 0.8949 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.963e-05/0.005598, allocations: 35.61 kB / 0.8949 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.005764, allocations: 19.98 kB / 0.895 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.006007, allocations: 170.8 kB / 0.8951 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.195e-05/0.006039, allocations: 59.34 kB / 0.8952 GB, free: 3.824 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.592e-05/0.006075, allocations: 12 kB / 0.8952 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.526e-05/0.00615, allocations: 86.19 kB / 0.8953 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of SimCode: time 7.41e-07/0.006151, allocations: 0 / 0.8953 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of Templates: time 0.003127/0.009278, allocations: 1.842 MB / 0.8971 GB, free: 1.902 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.085884481202811]