Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.001852/0.001852, allocations: 84.39 kB / 20.23 MB, free: 4.176 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.002355/0.002355, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.514/1.514, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.848/2.848, allocations: 359 MB / 0.6048 GB, free: 10.93 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.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.717e-06/3.717e-06, allocations: 0 / 0.7864 GB, free: 11.62 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.269e-05/4.641e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.62 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002212/0.002258, allocations: 0.695 MB / 0.7871 GB, free: 10.94 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.00348, allocations: 0.8255 MB / 0.7879 GB, free: 10.1 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.119e-05/0.003521, allocations: 4 kB / 0.7879 GB, free: 10.1 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.003551, allocations: 3.938 kB / 0.7879 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.843e-05/0.00363, allocations: 8.625 kB / 0.7879 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.016e-05/0.0037, allocations: 11.98 kB / 0.788 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.0038, allocations: 48.84 kB / 0.788 GB, free: 10.03 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.003908, allocations: 15.92 kB / 0.788 GB, free: 10.01 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.762e-05/0.004006, allocations: 23.92 kB / 0.788 GB, free: 9.988 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.004051, allocations: 16.53 kB / 0.7881 GB, free: 9.973 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.004076, allocations: 8.766 kB / 0.7881 GB, free: 9.965 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.004087, allocations: 4 kB / 0.7881 GB, free: 9.961 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.004103, allocations: 4.938 kB / 0.7881 GB, free: 9.957 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.004142, allocations: 15.92 kB / 0.7881 GB, free: 9.941 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.999e-05/0.004242, allocations: 35.94 kB / 0.7881 GB, free: 9.906 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.004245, allocations: 0.6562 kB / 0.7881 GB, free: 9.906 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004245, allocations: 0 / 0.7881 GB, free: 9.906 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.004251, allocations: 0.6562 kB / 0.7881 GB, free: 9.906 MB / 0.698 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.0005911/0.004843, allocations: 291 kB / 0.7884 GB, free: 9.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.004884, allocations: 9.062 kB / 0.7884 GB, free: 9.582 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.004929, allocations: 8.891 kB / 0.7884 GB, free: 9.574 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.005077, allocations: 117.6 kB / 0.7885 GB, free: 9.434 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.00509, allocations: 0.9375 kB / 0.7885 GB, free: 9.434 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.005102, allocations: 5.156 kB / 0.7885 GB, free: 9.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.005382, allocations: 67.44 kB / 0.7886 GB, free: 9.359 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.005391, allocations: 192 / 0.7886 GB, free: 9.359 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.005404, allocations: 384 / 0.7886 GB, free: 9.359 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.005413, allocations: 4.875 kB / 0.7886 GB, free: 9.355 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.005711, allocations: 66.7 kB / 0.7887 GB, free: 9.293 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.006114, allocations: 216.5 kB / 0.7889 GB, free: 9.051 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.006345, allocations: 55.91 kB / 0.7889 GB, free: 8.988 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.006511, allocations: 40.91 kB / 0.789 GB, free: 8.945 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.006531, allocations: 4.594 kB / 0.789 GB, free: 8.941 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.006567, allocations: 30.56 kB / 0.789 GB, free: 8.902 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.006568, allocations: 0.9375 kB / 0.789 GB, free: 8.902 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005875/0.007155, allocations: 135.6 kB / 0.7891 GB, free: 8.766 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.007218, allocations: 53.22 kB / 0.7892 GB, free: 8.703 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.007337, allocations: 110.1 kB / 0.7893 GB, free: 8.586 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.007359, allocations: 25.7 kB / 0.7893 GB, free: 8.555 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.007428, allocations: 92.12 kB / 0.7894 GB, free: 8.461 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.007457, allocations: 11.84 kB / 0.7894 GB, free: 8.449 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.007498, allocations: 19.25 kB / 0.7894 GB, free: 8.426 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.007685, allocations: 310.8 kB / 0.7897 GB, free: 8.113 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.007839, allocations: 31.95 kB / 0.7898 GB, free: 8.082 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.007981, allocations: 34.41 kB / 0.7898 GB, free: 8.051 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.008271, allocations: 67.25 kB / 0.7899 GB, free: 7.984 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.008273, allocations: 0 / 0.7899 GB, free: 7.984 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003325/0.008605, allocations: 105.6 kB / 0.79 GB, free: 7.875 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.008623, allocations: 8.469 kB / 0.79 GB, free: 7.867 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.008628, allocations: 0 / 0.79 GB, free: 7.867 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.008649, allocations: 0.7188 kB / 0.79 GB, free: 7.867 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.008781, allocations: 20.5 kB / 0.79 GB, free: 7.848 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.008791, allocations: 5.688 kB / 0.79 GB, free: 7.844 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.403e-05/0.008875, allocations: 15.98 kB / 0.79 GB, free: 7.828 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.008881, allocations: 0 / 0.79 GB, free: 7.828 MB / 0.698 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 9.533e-05/0.008977, allocations: 106.5 kB / 0.7901 GB, free: 7.715 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.009005, allocations: 8.281 kB / 0.7901 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.009037, allocations: 20.55 kB / 0.7901 GB, free: 7.688 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.009041, allocations: 3.984 kB / 0.7901 GB, free: 7.684 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.009045, allocations: 4.688 kB / 0.7901 GB, free: 7.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.009047, allocations: 0 / 0.7901 GB, free: 7.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.009216, allocations: 106.2 kB / 0.7902 GB, free: 7.547 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.009217, allocations: 4 kB / 0.7902 GB, free: 7.543 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-05/0.009314, allocations: 13.14 kB / 0.7903 GB, free: 7.531 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.009315, allocations: 3.938 kB / 0.7903 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.009323, allocations: 0.5 kB / 0.7903 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.009329, allocations: 7.938 kB / 0.7903 GB, free: 7.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.009329, allocations: 0.5 kB / 0.7903 GB, free: 7.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.009723, allocations: 197.1 kB / 0.7905 GB, free: 7.312 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.009734, allocations: 5.719 kB / 0.7905 GB, free: 7.309 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.009747, allocations: 0 / 0.7905 GB, free: 7.309 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.009859, allocations: 15.92 kB / 0.7905 GB, free: 7.293 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.009907, allocations: 7.984 kB / 0.7905 GB, free: 7.285 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.009911, allocations: 0.8125 kB / 0.7905 GB, free: 7.285 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.801e-05/0.009969, allocations: 83.28 kB / 0.7906 GB, free: 7.203 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.009969, allocations: 2.25 kB / 0.7906 GB, free: 7.203 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002307/0.0102, allocations: 8 kB / 0.7906 GB, free: 7.195 MB / 0.698 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.0001403/0.01034, allocations: 99.23 kB / 0.7907 GB, free: 7.086 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003447/0.01068, allocations: 69.95 kB / 0.7907 GB, free: 7.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.01069, allocations: 4 kB / 0.7907 GB, free: 7.016 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.01084, allocations: 32.47 kB / 0.7908 GB, free: 6.984 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.01117, allocations: 9.828 kB / 0.7908 GB, free: 6.977 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.01153, allocations: 124.6 kB / 0.7909 GB, free: 6.828 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.672e-05/0.01161, allocations: 64.28 kB / 0.791 GB, free: 6.746 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.995e-05/0.01164, allocations: 5.094 kB / 0.791 GB, free: 6.742 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.01168, allocations: 8.5 kB / 0.791 GB, free: 6.734 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/0.01168, allocations: 0 / 0.791 GB, free: 6.734 MB / 0.698 GB Notification: Performance of Templates: time 0.003388/0.01507, allocations: 0.7561 MB / 0.7917 GB, free: 6.004 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.8745589590398595]