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.000939/0.000939, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001438/0.001438, allocations: 181 kB / 24.09 MB, free: 416 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 0.947/0.947, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.759/1.759, allocations: 359 MB / 0.6055 GB, free: 10.88 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.695e-06/2.695e-06, allocations: 0.6562 kB / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.186e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002145/0.002177, allocations: 0.7249 MB / 0.7883 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00514/0.007317, allocations: 0.8449 MB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.007367, allocations: 0 / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.007398, allocations: 5.562 kB / 0.7892 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.64e-05/0.007485, allocations: 15.86 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.826e-05/0.007553, allocations: 7.984 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.75e-05/0.007641, allocations: 47.84 kB / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.007743, allocations: 5.219 kB / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.667e-05/0.00784, allocations: 31.91 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.127e-05/0.007881, allocations: 11.98 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.0079, allocations: 4.625 kB / 0.7893 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-06/0.007909, allocations: 4 kB / 0.7893 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.007928, allocations: 13.39 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.007954, allocations: 11.92 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.268e-05/0.008046, allocations: 27.91 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.008055, allocations: 0 / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.473e-06/0.008056, allocations: 0.8438 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.00806, allocations: 0 / 0.7893 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004008/0.008461, allocations: 377.1 kB / 0.7897 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.008506, allocations: 8.719 kB / 0.7897 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.008539, allocations: 17.67 kB / 0.7897 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.005e-05/0.008629, allocations: 116.6 kB / 0.7898 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.008639, allocations: 384 / 0.7898 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.008648, allocations: 5.031 kB / 0.7898 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.008796, allocations: 63.72 kB / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.008803, allocations: 192 / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.00881, allocations: 3.781 kB / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.008816, allocations: 384 / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.693e-05/0.008843, allocations: 7.938 kB / 0.7899 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.009128, allocations: 252.3 kB / 0.7902 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.039e-05/0.009189, allocations: 31.22 kB / 0.7902 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.009211, allocations: 15.67 kB / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.00922, allocations: 4 kB / 0.7902 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.009242, allocations: 33.39 kB / 0.7902 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.009243, allocations: 0.7188 kB / 0.7902 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001321/0.009375, allocations: 53.56 kB / 0.7903 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.009401, allocations: 53.06 kB / 0.7903 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.009476, allocations: 165.9 kB / 0.7905 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.009487, allocations: 25.7 kB / 0.7905 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.009534, allocations: 138.8 kB / 0.7906 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.009553, allocations: 9.297 kB / 0.7907 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.009586, allocations: 23.36 kB / 0.7907 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.009714, allocations: 496.1 kB / 0.7912 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.009728, allocations: 4 kB / 0.7912 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.268e-05/0.009741, allocations: 5.766 kB / 0.7912 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.122e-05/0.009772, allocations: 19.67 kB / 0.7912 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.009774, allocations: 0 / 0.7912 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.089e-05/0.009845, allocations: 45.59 kB / 0.7912 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.009856, allocations: 5.469 kB / 0.7912 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.009861, allocations: 4 kB / 0.7912 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.009873, allocations: 3.938 kB / 0.7912 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009897/0.01086, allocations: 11.98 kB / 0.7912 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01087, allocations: 5.125 kB / 0.7913 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.01091, allocations: 7.984 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.01091, allocations: 0.5312 kB / 0.7913 GB, free: 8.227 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 7.192e-05/0.01098, allocations: 157.1 kB / 0.7914 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.011, allocations: 8.844 kB / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.01102, allocations: 4 kB / 0.7914 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.01103, allocations: 7.938 kB / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.01103, allocations: 0.7812 kB / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.01103, allocations: 0 / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.622e-05/0.01113, allocations: 105.8 kB / 0.7915 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01113, allocations: 1.375 kB / 0.7915 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.01116, allocations: 15.92 kB / 0.7915 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.01117, allocations: 0 / 0.7915 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.01117, allocations: 4 kB / 0.7916 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01117, allocations: 1.156 kB / 0.7916 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01117, allocations: 0 / 0.7916 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.01129, allocations: 195.8 kB / 0.7917 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.01129, allocations: 0.8125 kB / 0.7917 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-06/0.0113, allocations: 0 / 0.7917 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.374e-05/0.01133, allocations: 8.562 kB / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.01136, allocations: 9.328 kB / 0.7918 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.01137, allocations: 0 / 0.7918 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.751e-05/0.0114, allocations: 127.2 kB / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.0114, allocations: 0 / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001309/0.01154, allocations: 12.53 kB / 0.7919 GB, free: 7.531 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 0.0001138/0.01165, allocations: 100.5 kB / 0.792 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.131e-05/0.01171, allocations: 15.67 kB / 0.792 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01171, allocations: 4.969 kB / 0.792 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-05/0.01173, allocations: 11.69 kB / 0.792 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.01192, allocations: 6.312 kB / 0.792 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.01217, allocations: 142.1 kB / 0.7922 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.411e-05/0.01221, allocations: 55.36 kB / 0.7922 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.065e-05/0.01223, allocations: 7.375 kB / 0.7922 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.01229, allocations: 82.19 kB / 0.7923 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.01229, allocations: 0 / 0.7923 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of Templates: time 0.002354/0.01464, allocations: 0.8079 MB / 0.7931 GB, free: 6.277 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.932021757122129]