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.0009822/0.0009822, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.00109/0.00109, allocations: 165 kB / 23.82 MB, free: 0.75 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.9938/0.9938, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.815/1.815, allocations: 359 MB / 0.6052 GB, free: 11.03 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.272e-06/1.272e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.566e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001568/0.001593, allocations: 0.8243 MB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001074/0.001701, allocations: 39.78 kB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.001746, allocations: 4.531 kB / 0.7879 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.001779, allocations: 8.656 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.318e-05/0.001872, allocations: 19.78 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.012e-05/0.001912, allocations: 20.67 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.162e-05/0.002004, allocations: 59.84 kB / 0.7881 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.002116, allocations: 29.14 kB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.466e-05/0.002211, allocations: 47.83 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.657e-05/0.002247, allocations: 17 kB / 0.7881 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.002266, allocations: 4 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-06/0.002274, allocations: 11.94 kB / 0.7882 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.002292, allocations: 16.55 kB / 0.7882 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.002316, allocations: 12 kB / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.552e-05/0.002411, allocations: 42.48 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.002414, allocations: 4 kB / 0.7882 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.002e-06/0.002415, allocations: 0 / 0.7882 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.00242, allocations: 0 / 0.7882 GB, free: 11.35 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.0003396/0.002759, allocations: 408.2 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.0028, allocations: 12.03 kB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.00284, allocations: 16.89 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.002969, allocations: 137.9 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.002981, allocations: 8.375 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.002991, allocations: 4.375 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.003109, allocations: 81.61 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.003116, allocations: 0.7812 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.003128, allocations: 9.188 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.003135, allocations: 384 / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.56e-05/0.00318, allocations: 35.84 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.003615, allocations: 0.746 MB / 0.7896 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.947e-05/0.003695, allocations: 267.2 kB / 0.7899 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.003727, allocations: 131 kB / 0.79 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.003753, allocations: 123.2 kB / 0.7901 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.003792, allocations: 156.6 kB / 0.7903 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 2.575e-06/0.003795, allocations: 1.531 kB / 0.7903 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.579e-05/0.003851, allocations: 33.66 kB / 0.7903 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.003899, allocations: 174.5 kB / 0.7905 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.004009, allocations: 199.4 kB / 0.7907 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.004017, allocations: 31.55 kB / 0.7907 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.004085, allocations: 178.5 kB / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/0.004088, allocations: 0 / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.004118, allocations: 27.36 kB / 0.7909 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.004223, allocations: 0.4884 MB / 0.7914 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.004236, allocations: 7.938 kB / 0.7914 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-05/0.004282, allocations: 80.05 kB / 0.7915 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.004431, allocations: 86.62 kB / 0.7915 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.004434, allocations: 0 / 0.7915 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001202/0.004554, allocations: 87.66 kB / 0.7916 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.004567, allocations: 4 kB / 0.7916 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.004572, allocations: 4.594 kB / 0.7916 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.004584, allocations: 8.625 kB / 0.7916 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.004634, allocations: 12 kB / 0.7917 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.00464, allocations: 4.625 kB / 0.7917 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/0.004663, allocations: 4 kB / 0.7917 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.004669, allocations: 13.02 kB / 0.7917 GB, free: 7.531 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.384e-05/0.004753, allocations: 283.6 kB / 0.7919 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.004798, allocations: 154.2 kB / 0.7921 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.004843, allocations: 152.7 kB / 0.7922 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-05/0.004898, allocations: 276 kB / 0.7925 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.387e-05/0.004952, allocations: 268 kB / 0.7928 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.508e-05/0.005007, allocations: 277.1 kB / 0.793 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.005173, allocations: 0.5038 MB / 0.7935 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.603e-05/0.005209, allocations: 148.9 kB / 0.7937 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.331e-05/0.005242, allocations: 149.5 kB / 0.7938 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.334e-05/0.005295, allocations: 269 kB / 0.7941 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.624e-05/0.005352, allocations: 272 kB / 0.7943 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.357e-05/0.005405, allocations: 268.1 kB / 0.7946 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.417e-05/0.005459, allocations: 264.9 kB / 0.7948 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.005582, allocations: 455.9 kB / 0.7953 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.543e-05/0.005628, allocations: 162.4 kB / 0.7954 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.781e-05/0.005695, allocations: 268.1 kB / 0.7957 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.438e-05/0.00575, allocations: 144.9 kB / 0.7958 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.005814, allocations: 272.3 kB / 0.7961 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.005845, allocations: 157.8 kB / 0.7962 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.005893, allocations: 149 kB / 0.7964 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005893, allocations: 0 / 0.7964 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001537/0.006047, allocations: 14.08 kB / 0.7964 GB, free: 2.531 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 0.000106/0.006153, allocations: 210.4 kB / 0.7966 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.834e-05/0.006241, allocations: 45.8 kB / 0.7966 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.006243, allocations: 0 / 0.7966 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.006244, allocations: 0 / 0.7966 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.006521, allocations: 0.7062 MB / 0.7973 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002515/0.006773, allocations: 277.5 kB / 0.7976 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.526e-05/0.006808, allocations: 63.78 kB / 0.7976 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.907e-05/0.006837, allocations: 11.41 kB / 0.7976 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.006854, allocations: 8.5 kB / 0.7977 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of SimCode: time 7.91e-07/0.006855, allocations: 0 / 0.7977 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of Templates: time 0.001886/0.008741, allocations: 324 kB / 0.798 GB, free: 0.8594 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.936301856301725]