Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.001204/0.001204, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001521/0.001521, allocations: 169 kB / 24.28 MB, free: 280 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.9935/0.9935, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.891/1.891, allocations: 359 MB / 0.6055 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.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 1.094 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.115e-05, allocations: 3.312 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001611/0.001642, allocations: 0.8098 MB / 0.7879 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000115/0.001757, allocations: 40.34 kB / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.001812, allocations: 4.844 kB / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.001849, allocations: 7.875 kB / 0.7879 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.167e-05/0.00194, allocations: 13.48 kB / 0.788 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.702e-05/0.001987, allocations: 19.98 kB / 0.788 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.00209, allocations: 63.83 kB / 0.788 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.002226, allocations: 27.98 kB / 0.7881 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.307e-05/0.002319, allocations: 45.05 kB / 0.7881 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/0.002364, allocations: 15.91 kB / 0.7881 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.002391, allocations: 11.94 kB / 0.7881 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.214e-06/0.002398, allocations: 4.688 kB / 0.7881 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.002418, allocations: 15.94 kB / 0.7882 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.002445, allocations: 20.88 kB / 0.7882 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.904e-05/0.002544, allocations: 43.77 kB / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.002546, allocations: 0 / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.542e-06/0.002548, allocations: 0.6562 kB / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.002553, allocations: 0 / 0.7882 GB, free: 11.68 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003913/0.002944, allocations: 413.9 kB / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.002988, allocations: 12.03 kB / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.003036, allocations: 16.89 kB / 0.7886 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.003215, allocations: 135.9 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.003226, allocations: 8.375 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.003238, allocations: 8.375 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.003368, allocations: 83.8 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.003376, allocations: 4.125 kB / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.003388, allocations: 8.359 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.003397, allocations: 4.375 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.003444, allocations: 31.86 kB / 0.7889 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.003889, allocations: 455.1 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.658e-05/0.003946, allocations: 58.06 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/0.003984, allocations: 29.73 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.003993, allocations: 0 / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.004021, allocations: 41.33 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.004022, allocations: 0 / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001611/0.004183, allocations: 50.38 kB / 0.7895 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.004235, allocations: 82.2 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.004354, allocations: 185.8 kB / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.004365, allocations: 25.7 kB / 0.7898 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.004439, allocations: 160.1 kB / 0.7899 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/0.00445, allocations: 11.88 kB / 0.79 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.004479, allocations: 23.38 kB / 0.79 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004215/0.004901, allocations: 496.1 kB / 0.7905 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.004917, allocations: 4.656 kB / 0.7905 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.018e-05/0.004937, allocations: 23.36 kB / 0.7905 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.815e-05/0.004975, allocations: 29.31 kB / 0.7905 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.004977, allocations: 3.938 kB / 0.7905 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.142e-05/0.005039, allocations: 50.31 kB / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.005054, allocations: 4 kB / 0.7906 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.005059, allocations: 0.7188 kB / 0.7906 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.005077, allocations: 5.219 kB / 0.7906 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.005138, allocations: 4 kB / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.005145, allocations: 7.875 kB / 0.7906 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.005163, allocations: 3.953 kB / 0.7906 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.005171, allocations: 4.625 kB / 0.7906 GB, free: 9.008 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.444e-05/0.005236, allocations: 157.7 kB / 0.7907 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.005257, allocations: 4 kB / 0.7907 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.005282, allocations: 11.45 kB / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005284, allocations: 0.9062 kB / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.005288, allocations: 0 / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.005293, allocations: 4.5 kB / 0.7908 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.005589, allocations: 0.5471 MB / 0.7913 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.005591, allocations: 4 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.005608, allocations: 0 / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.005612, allocations: 4.625 kB / 0.7913 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.00562, allocations: 5.062 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.005621, allocations: 0 / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005622, allocations: 0 / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.614e-05/0.005689, allocations: 93.09 kB / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.005707, allocations: 7.953 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.005718, allocations: 4.781 kB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-06/0.005726, allocations: 3.938 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.005742, allocations: 4 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-06/0.005744, allocations: 2.219 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.93e-05/0.005794, allocations: 142.3 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005794, allocations: 0 / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00013/0.005924, allocations: 15.89 kB / 0.7916 GB, free: 7.93 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 9.639e-05/0.00602, allocations: 104.5 kB / 0.7917 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.443e-05/0.006114, allocations: 23.62 kB / 0.7917 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.006117, allocations: 0 / 0.7917 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.237e-06/0.006126, allocations: 11.69 kB / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.006248, allocations: 4 kB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.00655, allocations: 176 kB / 0.7919 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.852e-05/0.006588, allocations: 59.34 kB / 0.7919 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.006618, allocations: 8.031 kB / 0.7919 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.006644, allocations: 13 kB / 0.792 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.006645, allocations: 0.5312 kB / 0.792 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of Templates: time 0.00214/0.008785, allocations: 343.5 kB / 0.7923 GB, free: 7.148 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.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.311007512034848]