Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001326/0.001326, allocations: 81.86 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.001095/0.001095, allocations: 181 kB / 24.09 MB, free: 420 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.9477/0.9477, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.782/1.782, allocations: 359 MB / 0.6055 GB, free: 10.88 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.452e-05/3.649e-05, allocations: 6.516 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002523/0.00256, allocations: 0.8082 MB / 0.7884 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00016/0.00272, allocations: 40.72 kB / 0.7884 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.002787, allocations: 4 kB / 0.7884 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.316e-05/0.002831, allocations: 13.48 kB / 0.7884 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.002931, allocations: 7.875 kB / 0.7884 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.3e-05/0.002984, allocations: 23.92 kB / 0.7884 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.003099, allocations: 67.81 kB / 0.7885 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.003232, allocations: 25.2 kB / 0.7885 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.003354, allocations: 43.84 kB / 0.7886 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.467e-05/0.003399, allocations: 20.41 kB / 0.7886 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.003421, allocations: 8 kB / 0.7886 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.00343, allocations: 4.906 kB / 0.7886 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.003453, allocations: 7.984 kB / 0.7886 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.003486, allocations: 20.86 kB / 0.7886 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.003599, allocations: 51.7 kB / 0.7887 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.003602, allocations: 0 / 0.7887 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.673e-06/0.003604, allocations: 0.6875 kB / 0.7887 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.003608, allocations: 0 / 0.7887 GB, free: 11.04 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.0004/0.004008, allocations: 409.1 kB / 0.7891 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.004052, allocations: 8.031 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.00409, allocations: 17.55 kB / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.004242, allocations: 147.9 kB / 0.7892 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.004255, allocations: 4.375 kB / 0.7892 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.004266, allocations: 8.375 kB / 0.7893 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.004416, allocations: 83.16 kB / 0.7893 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.004426, allocations: 192 / 0.7893 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-06/0.004434, allocations: 384 / 0.7893 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.004442, allocations: 4.375 kB / 0.7893 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.004482, allocations: 23.86 kB / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.005, allocations: 0.7263 MB / 0.7901 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.005138, allocations: 265.9 kB / 0.7903 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.006e-05/0.005178, allocations: 131.5 kB / 0.7905 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.00521, allocations: 119.2 kB / 0.7906 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.005262, allocations: 158.3 kB / 0.7907 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.005263, allocations: 0 / 0.7907 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.42e-05/0.005338, allocations: 33.66 kB / 0.7907 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.005398, allocations: 174.6 kB / 0.7909 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.00553, allocations: 205 kB / 0.7911 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.005539, allocations: 25.7 kB / 0.7911 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.271e-05/0.005632, allocations: 178.4 kB / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.005634, allocations: 0 / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.005672, allocations: 24.97 kB / 0.7913 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.005817, allocations: 0.4961 MB / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.005829, allocations: 4 kB / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.495e-05/0.005883, allocations: 85.41 kB / 0.7919 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.006043, allocations: 84.66 kB / 0.792 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.006045, allocations: 0 / 0.792 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001372/0.006182, allocations: 79.36 kB / 0.7921 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.006198, allocations: 8.531 kB / 0.7921 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.006205, allocations: 3.984 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.006219, allocations: 5.188 kB / 0.7921 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-05/0.006283, allocations: 15.94 kB / 0.7921 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.006287, allocations: 0 / 0.7921 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.964e-05/0.006327, allocations: 12.94 kB / 0.7921 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.006334, allocations: 4.156 kB / 0.7921 GB, free: 7.266 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 0.0001089/0.006443, allocations: 284.7 kB / 0.7924 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.006511, allocations: 160.8 kB / 0.7925 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.762e-05/0.006579, allocations: 160.7 kB / 0.7927 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.526e-05/0.006654, allocations: 268.9 kB / 0.7929 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-05/0.006728, allocations: 264.1 kB / 0.7932 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.728e-05/0.006805, allocations: 281.1 kB / 0.7935 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.007043, allocations: 492.4 kB / 0.7939 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.025e-05/0.007083, allocations: 144.9 kB / 0.7941 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.00713, allocations: 153.5 kB / 0.7942 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-05/0.007212, allocations: 269.1 kB / 0.7945 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.292e-05/0.007285, allocations: 264.1 kB / 0.7947 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.581e-05/0.007361, allocations: 276 kB / 0.795 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.138e-05/0.007433, allocations: 269.2 kB / 0.7952 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.007745, allocations: 455.8 kB / 0.7957 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.007808, allocations: 160.8 kB / 0.7958 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.822e-05/0.007887, allocations: 268.9 kB / 0.7961 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.031e-05/0.007967, allocations: 144.9 kB / 0.7962 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.008048, allocations: 278.5 kB / 0.7965 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/0.008088, allocations: 144.9 kB / 0.7966 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.976e-05/0.008158, allocations: 139.2 kB / 0.7968 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.008158, allocations: 0 / 0.7968 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001506/0.008308, allocations: 15.95 kB / 0.7968 GB, free: 2.297 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.0001125/0.008421, allocations: 217.2 kB / 0.797 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.814e-05/0.008489, allocations: 47.44 kB / 0.797 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008491, allocations: 0 / 0.797 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.008492, allocations: 0 / 0.797 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.008802, allocations: 0.7134 MB / 0.7977 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.00906, allocations: 277.5 kB / 0.798 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.041e-05/0.0091, allocations: 59.34 kB / 0.798 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.332e-05/0.009133, allocations: 9.312 kB / 0.7981 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.009169, allocations: 70.77 kB / 0.7981 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of SimCode: time 1.012e-06/0.00917, allocations: 0.5312 kB / 0.7981 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of Templates: time 0.00176/0.01093, allocations: 325.5 kB / 0.7984 GB, free: 0.5469 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_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: 4.761988373007625]