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.0009862/0.0009862, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001006/0.001006, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9539/0.9539, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.865/1.865, allocations: 359 MB / 0.6052 GB, free: 11 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.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 2.084e-06/2.084e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/3.012e-05, allocations: 5.531 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.0017/0.00173, allocations: 0.8181 MB / 0.7879 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001148/0.001845, allocations: 39.78 kB / 0.7879 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.001892, allocations: 4.844 kB / 0.7879 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.491e-05/0.001937, allocations: 15.8 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.073e-05/0.002007, allocations: 3.938 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.649e-05/0.002054, allocations: 20.55 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.697e-05/0.002151, allocations: 61.09 kB / 0.788 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.002277, allocations: 35.95 kB / 0.7881 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.985e-05/0.002367, allocations: 39.84 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.867e-05/0.002406, allocations: 17.55 kB / 0.7881 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.002425, allocations: 7.984 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-06/0.002433, allocations: 8 kB / 0.7881 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.002455, allocations: 15.92 kB / 0.7882 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.002482, allocations: 17.16 kB / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.955e-05/0.002581, allocations: 43.77 kB / 0.7882 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.002584, allocations: 0 / 0.7882 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.545e-06/0.002587, allocations: 4.688 kB / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.002593, allocations: 3.984 kB / 0.7882 GB, free: 11.34 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.0003895/0.002983, allocations: 405.2 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.003023, allocations: 12.03 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.003061, allocations: 13.55 kB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.003226, allocations: 136.5 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.003237, allocations: 12.94 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.003252, allocations: 15.78 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.003373, allocations: 83.62 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.003384, allocations: 4.172 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.003395, allocations: 4.375 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.003403, allocations: 4.375 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.716e-05/0.00345, allocations: 35.8 kB / 0.7889 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.003844, allocations: 450.4 kB / 0.7893 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.066e-05/0.003895, allocations: 58.16 kB / 0.7894 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.003925, allocations: 24.22 kB / 0.7894 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.003933, allocations: 5.656 kB / 0.7894 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.003956, allocations: 33.39 kB / 0.7895 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.003958, allocations: 0 / 0.7895 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001379/0.004096, allocations: 54.89 kB / 0.7895 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.004136, allocations: 77.11 kB / 0.7896 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.004397, allocations: 188.6 kB / 0.7898 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.004407, allocations: 30.33 kB / 0.7898 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.004468, allocations: 154.7 kB / 0.7899 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.805e-06/0.004476, allocations: 9.234 kB / 0.79 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.004506, allocations: 23.38 kB / 0.79 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.004617, allocations: 0.4923 MB / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.004629, allocations: 0 / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.056e-05/0.004649, allocations: 24.91 kB / 0.7905 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.004682, allocations: 27.38 kB / 0.7905 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.004684, allocations: 1.375 kB / 0.7905 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.72e-05/0.004752, allocations: 53.62 kB / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.004772, allocations: 4 kB / 0.7906 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.004779, allocations: 1.219 kB / 0.7906 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.004796, allocations: 4 kB / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.828e-05/0.004855, allocations: 4 kB / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.004862, allocations: 4.469 kB / 0.7906 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.004881, allocations: 12.47 kB / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.004884, allocations: 0 / 0.7906 GB, free: 8.68 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.506e-05/0.004949, allocations: 157.5 kB / 0.7907 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.004974, allocations: 4.812 kB / 0.7907 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.005002, allocations: 7.469 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.005005, allocations: 3.938 kB / 0.7908 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.005009, allocations: 0.5312 kB / 0.7908 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.005013, allocations: 9.25 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.005348, allocations: 0.55 MB / 0.7913 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.005349, allocations: 0 / 0.7913 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.626e-05/0.005366, allocations: 9.094 kB / 0.7913 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.005368, allocations: 0 / 0.7913 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.005373, allocations: 3.938 kB / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.005376, allocations: 4.75 kB / 0.7913 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.005377, allocations: 0 / 0.7913 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.34e-05/0.005441, allocations: 84.75 kB / 0.7914 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.005461, allocations: 8.766 kB / 0.7914 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.005473, allocations: 7.922 kB / 0.7914 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.005482, allocations: 0.9375 kB / 0.7914 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.005496, allocations: 4 kB / 0.7914 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.005498, allocations: 1.219 kB / 0.7914 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.077e-05/0.005549, allocations: 143.1 kB / 0.7916 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005549, allocations: 0 / 0.7916 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001345/0.005683, allocations: 15.89 kB / 0.7916 GB, free: 7.594 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.815e-05/0.005781, allocations: 100.2 kB / 0.7917 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.028e-05/0.005862, allocations: 21.98 kB / 0.7917 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.005863, allocations: 0 / 0.7917 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-05/0.005874, allocations: 15.62 kB / 0.7917 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.005988, allocations: 4 kB / 0.7917 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.006272, allocations: 177.9 kB / 0.7919 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.283e-05/0.006305, allocations: 55.36 kB / 0.7919 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.78e-05/0.006333, allocations: 8.078 kB / 0.7919 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.006357, allocations: 12.5 kB / 0.792 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.006358, allocations: 0 / 0.792 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of Templates: time 0.002093/0.008451, allocations: 342.7 kB / 0.7923 GB, free: 6.816 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.449383158702403]