Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001319/0.001319, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.002646/0.002646, allocations: 185.3 kB / 24.09 MB, free: 416 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.9394/0.9394, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.734/1.734, allocations: 359 MB / 0.6055 GB, free: 10.89 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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.198e-05, allocations: 6.234 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001379/0.001401, allocations: 0.8164 MB / 0.7884 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001137/0.001515, allocations: 37.02 kB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.435e-05/0.001559, allocations: 4 kB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.001592, allocations: 11.86 kB / 0.7884 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.023e-05/0.001672, allocations: 12.48 kB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.711e-05/0.001709, allocations: 19.98 kB / 0.7884 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.064e-05/0.00179, allocations: 65.19 kB / 0.7885 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.001887, allocations: 31.95 kB / 0.7885 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.88e-05/0.001976, allocations: 47.84 kB / 0.7886 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.002014, allocations: 12.77 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.002029, allocations: 7.938 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.002038, allocations: 8.562 kB / 0.7886 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.002054, allocations: 7.984 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.002081, allocations: 20.67 kB / 0.7886 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.291e-05/0.002164, allocations: 43.77 kB / 0.7887 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.002166, allocations: 4.906 kB / 0.7887 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002167, allocations: 0 / 0.7887 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.00217, allocations: 0.6562 kB / 0.7887 GB, free: 11.07 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.0002901/0.00246, allocations: 405.5 kB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.002489, allocations: 12.03 kB / 0.7891 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.002516, allocations: 16.89 kB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.002617, allocations: 140.4 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.002627, allocations: 5.969 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.002636, allocations: 8.375 kB / 0.7892 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.869e-05/0.002725, allocations: 85.58 kB / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.002731, allocations: 192 / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.002737, allocations: 1.438 kB / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.002743, allocations: 4.375 kB / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.462e-05/0.002767, allocations: 23.86 kB / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.003137, allocations: 0.7216 MB / 0.7901 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.394e-05/0.003211, allocations: 269.6 kB / 0.7903 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.003246, allocations: 130.8 kB / 0.7904 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.003283, allocations: 123.2 kB / 0.7906 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.003324, allocations: 156.6 kB / 0.7907 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.003325, allocations: 0 / 0.7907 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.812e-05/0.003373, allocations: 37.66 kB / 0.7907 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.003434, allocations: 171.3 kB / 0.7909 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.854e-05/0.003533, allocations: 199.7 kB / 0.7911 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.842e-06/0.003539, allocations: 27.36 kB / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.003607, allocations: 178.4 kB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.003609, allocations: 4 kB / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.003637, allocations: 23.38 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.003754, allocations: 0.4932 MB / 0.7918 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-06/0.003759, allocations: 7.875 kB / 0.7918 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.003802, allocations: 77.48 kB / 0.7919 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.933e-05/0.003861, allocations: 92.36 kB / 0.792 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.003865, allocations: 5.406 kB / 0.792 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001016/0.003966, allocations: 75.77 kB / 0.7921 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.003979, allocations: 14.12 kB / 0.7921 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.003984, allocations: 0 / 0.7921 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.003994, allocations: 4 kB / 0.7921 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.023e-05/0.004034, allocations: 15.98 kB / 0.7921 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.004036, allocations: 0.9062 kB / 0.7921 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.242e-05/0.004059, allocations: 11.94 kB / 0.7921 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.004063, allocations: 4.531 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.8e-05/0.004151, allocations: 284.1 kB / 0.7924 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.004199, allocations: 153.4 kB / 0.7925 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.004255, allocations: 156.7 kB / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-05/0.004324, allocations: 277.2 kB / 0.7929 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.508e-05/0.004379, allocations: 264.1 kB / 0.7932 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.957e-05/0.004438, allocations: 276 kB / 0.7934 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.004597, allocations: 497 kB / 0.7939 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.224e-05/0.004629, allocations: 149.4 kB / 0.7941 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.00467, allocations: 158.2 kB / 0.7942 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-05/0.00473, allocations: 268.1 kB / 0.7945 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.772e-05/0.004788, allocations: 268 kB / 0.7947 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.301e-05/0.004851, allocations: 264.2 kB / 0.795 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.748e-05/0.004908, allocations: 273.2 kB / 0.7952 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.005031, allocations: 451.9 kB / 0.7957 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.005081, allocations: 156.8 kB / 0.7958 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.438e-05/0.005145, allocations: 268.9 kB / 0.7961 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.486e-05/0.0052, allocations: 152.8 kB / 0.7962 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.005268, allocations: 269.3 kB / 0.7965 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.0053, allocations: 144.9 kB / 0.7966 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.815e-05/0.005348, allocations: 140 kB / 0.7967 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005348, allocations: 1.344 kB / 0.7968 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001428/0.005491, allocations: 15.95 kB / 0.7968 GB, free: 2.34 MB / 0.7448 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 (0): * Single equations (assignments): 0 * 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 8.866e-05/0.00558, allocations: 219.2 kB / 0.797 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.804e-05/0.005638, allocations: 37.86 kB / 0.797 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.00564, allocations: 3.938 kB / 0.797 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.073e-06/0.005641, allocations: 4 kB / 0.797 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.005927, allocations: 0.7101 MB / 0.7977 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002109/0.006138, allocations: 281 kB / 0.798 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.097e-05/0.006169, allocations: 59.34 kB / 0.798 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.776e-05/0.006197, allocations: 4.734 kB / 0.798 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.006228, allocations: 70.2 kB / 0.7981 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.006229, allocations: 0.5938 kB / 0.7981 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of Templates: time 0.001534/0.007763, allocations: 334.9 kB / 0.7984 GB, free: 0.5859 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_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: 4.764867548830807]