Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.0009848/0.0009848, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001577/0.001577, allocations: 173 kB / 24.28 MB, free: 272 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.011/1.011, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.791/1.791, allocations: 359 MB / 0.6055 GB, free: 11.02 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.852e-05, allocations: 6.469 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.00161/0.001639, allocations: 0.8125 MB / 0.7879 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001232/0.001762, allocations: 44.84 kB / 0.7879 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.273e-05/0.001815, allocations: 4 kB / 0.7879 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.546e-05/0.00185, allocations: 16.58 kB / 0.788 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.49e-05/0.001935, allocations: 3.938 kB / 0.788 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.335e-05/0.001978, allocations: 23.09 kB / 0.788 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.103e-05/0.00207, allocations: 63.84 kB / 0.788 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.002191, allocations: 31.91 kB / 0.7881 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.43e-05/0.002266, allocations: 39.89 kB / 0.7881 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.002318, allocations: 15.92 kB / 0.7881 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.002345, allocations: 8 kB / 0.7881 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-06/0.002352, allocations: 4 kB / 0.7881 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.002374, allocations: 19.92 kB / 0.7882 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.002406, allocations: 21.02 kB / 0.7882 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.929e-05/0.002505, allocations: 43.77 kB / 0.7882 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.002508, allocations: 0 / 0.7882 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002508, allocations: 0.5938 kB / 0.7882 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.002513, allocations: 0 / 0.7882 GB, free: 11.65 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.0004077/0.002921, allocations: 409.5 kB / 0.7886 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.002967, allocations: 12.03 kB / 0.7886 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.003016, allocations: 16.89 kB / 0.7886 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.0032, allocations: 134 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.003212, allocations: 8.375 kB / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.003224, allocations: 4.375 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.003356, allocations: 92.92 kB / 0.7889 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.003363, allocations: 192 / 0.7889 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.003374, allocations: 8.359 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.003385, allocations: 8.125 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.639e-05/0.003431, allocations: 30.05 kB / 0.7889 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.003988, allocations: 458.4 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.424e-05/0.004042, allocations: 58.16 kB / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.004075, allocations: 19.5 kB / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.004082, allocations: 0.5312 kB / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.004105, allocations: 41.39 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.004106, allocations: 0.7188 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000144/0.00425, allocations: 47.67 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.004285, allocations: 81.11 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.655e-05/0.004381, allocations: 185.8 kB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.00439, allocations: 25.7 kB / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.004459, allocations: 163.3 kB / 0.7899 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.093e-06/0.004467, allocations: 7.891 kB / 0.79 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.004495, allocations: 24.22 kB / 0.79 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.004602, allocations: 496.1 kB / 0.7904 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.004616, allocations: 8.469 kB / 0.7905 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.02e-05/0.004637, allocations: 23.38 kB / 0.7905 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.491e-05/0.004671, allocations: 28.66 kB / 0.7905 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.004674, allocations: 1.375 kB / 0.7905 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.298e-05/0.004736, allocations: 53.62 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.004749, allocations: 4 kB / 0.7906 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.004754, allocations: 1.656 kB / 0.7906 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.004766, allocations: 0 / 0.7906 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.239e-05/0.004818, allocations: 8 kB / 0.7906 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.004825, allocations: 3.938 kB / 0.7906 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.004841, allocations: 5.078 kB / 0.7906 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.004845, allocations: 4 kB / 0.7906 GB, free: 8.996 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.268e-05/0.004908, allocations: 156.6 kB / 0.7907 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.00493, allocations: 4.781 kB / 0.7907 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.00495, allocations: 11.41 kB / 0.7907 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.004952, allocations: 4.562 kB / 0.7908 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.004957, allocations: 8.781 kB / 0.7908 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.004961, allocations: 3.938 kB / 0.7908 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.005249, allocations: 0.5441 MB / 0.7913 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.005252, allocations: 4 kB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.505e-05/0.005267, allocations: 0 / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.00527, allocations: 4.094 kB / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.005277, allocations: 7.922 kB / 0.7913 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.005279, allocations: 0.625 kB / 0.7913 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.00528, allocations: 0 / 0.7913 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.496e-05/0.005335, allocations: 86.59 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.005352, allocations: 11.95 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.005363, allocations: 3.938 kB / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-06/0.005371, allocations: 0 / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.005386, allocations: 11.92 kB / 0.7914 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.005387, allocations: 0 / 0.7914 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.598e-05/0.005433, allocations: 141 kB / 0.7916 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.005433, allocations: 0 / 0.7916 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000126/0.005559, 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 7.793e-05/0.005637, allocations: 95.78 kB / 0.7917 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.349e-05/0.005711, allocations: 24.23 kB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.005713, allocations: 1.656 kB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.258e-05/0.005725, allocations: 15.62 kB / 0.7917 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001046/0.00583, allocations: 6 kB / 0.7917 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.006065, allocations: 177.3 kB / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.006105, allocations: 60.22 kB / 0.7919 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.643e-05/0.006131, allocations: 11.7 kB / 0.7919 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.006151, allocations: 12.5 kB / 0.792 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.006152, allocations: 0 / 0.792 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of Templates: time 0.001869/0.008021, allocations: 337.8 kB / 0.7923 GB, free: 7.129 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.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.205876474035904]