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.002184/0.002184, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.00268/0.00268, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 2.836/2.836, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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 1.923e-06/1.923e-06, allocations: 0 / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.071e-05, allocations: 3.844 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001913/0.001944, allocations: 0.7059 MB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.003178, allocations: 0.8328 MB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.003216, allocations: 0 / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.003247, allocations: 5.188 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.108e-05/0.003328, allocations: 15.88 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.532e-05/0.003393, allocations: 7.984 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.079e-05/0.003484, allocations: 45.44 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.003599, allocations: 8 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.671e-05/0.003696, allocations: 27.91 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.515e-05/0.003741, allocations: 11.98 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.00376, allocations: 4.75 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.00377, allocations: 4 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.00379, allocations: 8.547 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.003824, allocations: 16.83 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.808e-05/0.003922, allocations: 35.94 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.003924, allocations: 0 / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003925, allocations: 4.938 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.003929, allocations: 0 / 0.7881 GB, free: 11.02 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.0005681/0.004497, allocations: 291.5 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.004533, allocations: 8.031 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.004578, allocations: 15.8 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.004697, allocations: 109.7 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.004709, allocations: 384 / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.004721, allocations: 4.375 kB / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.004979, allocations: 70.2 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.004987, allocations: 192 / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.004996, allocations: 384 / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.005, allocations: 1.625 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.005308, allocations: 69.52 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.005679, allocations: 224.5 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.005888, allocations: 48.95 kB / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.006057, allocations: 40.91 kB / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.006071, allocations: 0 / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.006115, allocations: 40.09 kB / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.006116, allocations: 0 / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0005928/0.006708, allocations: 135.3 kB / 0.7891 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.006753, allocations: 51.41 kB / 0.7892 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.006861, allocations: 112.2 kB / 0.7893 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.006882, allocations: 25.7 kB / 0.7893 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.006943, allocations: 88.09 kB / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.006969, allocations: 11.89 kB / 0.7894 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.007008, allocations: 13.72 kB / 0.7894 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.007175, allocations: 318.8 kB / 0.7897 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.007328, allocations: 29.22 kB / 0.7898 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.007484, allocations: 32.48 kB / 0.7898 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.007762, allocations: 66.39 kB / 0.7899 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.007763, allocations: 0.625 kB / 0.7899 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003395/0.008103, allocations: 102.9 kB / 0.79 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.008125, allocations: 12.44 kB / 0.79 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.00813, allocations: 0.7812 kB / 0.79 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.008147, allocations: 0 / 0.79 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.008278, allocations: 17.36 kB / 0.79 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.008283, allocations: 0 / 0.79 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.626e-05/0.008379, allocations: 21.09 kB / 0.79 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.008386, allocations: 320 / 0.79 GB, free: 8.941 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 8.993e-05/0.008476, allocations: 109.8 kB / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.008507, allocations: 12.55 kB / 0.7901 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.008532, allocations: 12.66 kB / 0.7901 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008534, allocations: 0 / 0.7901 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.008538, allocations: 0.8438 kB / 0.7901 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.008539, allocations: 0 / 0.7901 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.008697, allocations: 109.3 kB / 0.7902 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.008698, allocations: 1.844 kB / 0.7902 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.982e-05/0.008798, allocations: 15.98 kB / 0.7903 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.0088, allocations: 0 / 0.7903 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.00881, allocations: 4 kB / 0.7903 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.008816, allocations: 8.656 kB / 0.7903 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.008821, allocations: 3.984 kB / 0.7903 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.009237, allocations: 194.1 kB / 0.7905 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.009248, allocations: 4.031 kB / 0.7905 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.009263, allocations: 4 kB / 0.7905 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.009375, allocations: 13.89 kB / 0.7905 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.009425, allocations: 11.98 kB / 0.7905 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.009429, allocations: 0 / 0.7905 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.85e-05/0.009498, allocations: 95.25 kB / 0.7906 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009498, allocations: 0.5 kB / 0.7906 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002243/0.009722, allocations: 4 kB / 0.7906 GB, free: 8.301 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.0002199/0.009942, allocations: 96.59 kB / 0.7907 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.0103, allocations: 69.61 kB / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0103, allocations: 0 / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.01045, allocations: 36.38 kB / 0.7908 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.01077, allocations: 17.7 kB / 0.7908 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.01112, allocations: 120.5 kB / 0.7909 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.696e-05/0.01121, allocations: 67.28 kB / 0.791 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.01124, allocations: 4 kB / 0.791 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.01128, allocations: 9.906 kB / 0.791 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.01128, allocations: 0 / 0.791 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of Templates: time 0.003363/0.01464, allocations: 0.75 MB / 0.7917 GB, free: 7.113 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.978061459958553]