Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.001339/0.001339, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001363/0.001363, 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 1.045/1.045, allocations: 177.1 MB / 204.6 MB, free: 5.652 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.781/1.781, allocations: 359 MB / 0.6055 GB, free: 10.99 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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.428e-05/3.626e-05, allocations: 8.781 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001766/0.001803, allocations: 0.8102 MB / 0.7879 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001194/0.001922, allocations: 43.78 kB / 0.7879 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.001979, allocations: 4 kB / 0.7879 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.191e-05/0.00202, allocations: 9.5 kB / 0.788 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.954e-05/0.0021, allocations: 11.86 kB / 0.788 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.66e-05/0.002147, allocations: 15.98 kB / 0.788 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.905e-05/0.002246, allocations: 63.78 kB / 0.788 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.002379, allocations: 33.19 kB / 0.7881 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/0.002633, allocations: 35.91 kB / 0.7881 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.002694, allocations: 23.89 kB / 0.7881 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.002724, allocations: 8.625 kB / 0.7881 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-06/0.002731, allocations: 4 kB / 0.7881 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.00275, allocations: 17.34 kB / 0.7882 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.00278, allocations: 15.92 kB / 0.7882 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.614e-05/0.002876, allocations: 43.83 kB / 0.7882 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.002879, allocations: 4.781 kB / 0.7882 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.02e-07/0.00288, allocations: 0 / 0.7882 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.002884, allocations: 0 / 0.7882 GB, free: 11.66 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.000426/0.00331, allocations: 408.8 kB / 0.7886 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.003356, allocations: 8.719 kB / 0.7886 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.003405, allocations: 17.8 kB / 0.7886 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.003629, allocations: 144.4 kB / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.003648, allocations: 8.375 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.003663, allocations: 5.031 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.003825, allocations: 92.14 kB / 0.7889 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.003833, allocations: 192 / 0.7889 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.003846, allocations: 6.031 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.003857, allocations: 4.375 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.017e-05/0.003917, allocations: 23.86 kB / 0.7889 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.004423, allocations: 462.4 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.132e-05/0.004484, allocations: 55.53 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.059e-05/0.004525, allocations: 23.42 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.004533, allocations: 1.594 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.004563, allocations: 45.42 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.004565, allocations: 0 / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001759/0.004741, allocations: 42.59 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.004784, allocations: 81.11 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.004906, allocations: 189.1 kB / 0.7898 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.004919, allocations: 25.7 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.004994, allocations: 162.7 kB / 0.7899 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.458e-06/0.005004, allocations: 11.88 kB / 0.79 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.00504, allocations: 23.38 kB / 0.79 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.005157, allocations: 492.1 kB / 0.7904 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.005174, allocations: 4 kB / 0.7905 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.005201, allocations: 27.36 kB / 0.7905 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.212e-05/0.005243, allocations: 31.84 kB / 0.7905 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.005246, allocations: 0.5312 kB / 0.7905 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.866e-05/0.005324, allocations: 46.81 kB / 0.7906 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.005339, allocations: 7.938 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.005344, allocations: 0.5625 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.005359, allocations: 0.625 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.005428, allocations: 19.92 kB / 0.7906 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.005435, allocations: 5.312 kB / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.303e-05/0.005458, allocations: 3.953 kB / 0.7906 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.005464, allocations: 4 kB / 0.7906 GB, free: 8.988 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 8.04e-05/0.005544, allocations: 153.7 kB / 0.7907 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.005581, allocations: 4 kB / 0.7907 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.005608, allocations: 11.45 kB / 0.7908 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.005611, allocations: 4.938 kB / 0.7908 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.005615, allocations: 0 / 0.7908 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.00562, allocations: 5.531 kB / 0.7908 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.005999, allocations: 0.546 MB / 0.7913 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.006001, allocations: 0 / 0.7913 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.00602, allocations: 4 kB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.006023, allocations: 2.312 kB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.006032, allocations: 7.938 kB / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.006034, allocations: 0 / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.006036, allocations: 0 / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.786e-05/0.006114, allocations: 88.06 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.006136, allocations: 15.39 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.00615, allocations: 7.938 kB / 0.7914 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.295e-05/0.006163, allocations: 0 / 0.7914 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.006179, allocations: 0 / 0.7914 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.006182, allocations: 4 kB / 0.7914 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.987e-05/0.006242, allocations: 144.7 kB / 0.7916 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.006242, allocations: 0 / 0.7916 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001861/0.006428, allocations: 15.89 kB / 0.7916 GB, free: 7.906 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 0.0001042/0.006532, allocations: 91.91 kB / 0.7917 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.976e-05/0.006622, allocations: 24.12 kB / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.006624, allocations: 4.562 kB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.869e-06/0.006634, allocations: 8.25 kB / 0.7917 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.006793, allocations: 9.391 kB / 0.7917 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.007104, allocations: 178.5 kB / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.913e-05/0.007143, allocations: 59.34 kB / 0.7919 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.01e-05/0.007173, allocations: 10.12 kB / 0.7919 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.007197, allocations: 8.5 kB / 0.792 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/0.007198, allocations: 0 / 0.792 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of Templates: time 0.002353/0.009551, allocations: 354 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.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.119945171056315]