Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.001035/0.001035, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009233/0.0009233, allocations: 173 kB / 24.28 MB, free: 276 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.025/1.025, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.831/1.831, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.593e-05, allocations: 6.219 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001902/0.001928, allocations: 0.8087 MB / 0.7879 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001414/0.00207, allocations: 40.44 kB / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.992e-05/0.00214, allocations: 1.25 kB / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.474e-05/0.002184, allocations: 11.86 kB / 0.788 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.529e-05/0.00228, allocations: 11.94 kB / 0.788 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.93e-05/0.002339, allocations: 15.98 kB / 0.788 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.002463, allocations: 61.41 kB / 0.788 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.002615, allocations: 39.95 kB / 0.7881 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.002722, allocations: 35.91 kB / 0.7881 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.002771, allocations: 19.91 kB / 0.7881 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.002798, allocations: 9.219 kB / 0.7881 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.002809, allocations: 4 kB / 0.7881 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.002832, allocations: 15.92 kB / 0.7882 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.002869, allocations: 20.56 kB / 0.7882 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.002986, allocations: 43.83 kB / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.002989, allocations: 1.594 kB / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.00299, allocations: 0 / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.002995, allocations: 0 / 0.7882 GB, free: 11.68 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.0004823/0.003477, allocations: 411.7 kB / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.003524, allocations: 11.97 kB / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.003576, allocations: 16.89 kB / 0.7886 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.003781, allocations: 144.4 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.003797, allocations: 4.375 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.003813, allocations: 8.375 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.003965, allocations: 85.61 kB / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.003973, allocations: 192 / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.003988, allocations: 384 / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.004006, allocations: 5.094 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.667e-05/0.004072, allocations: 31.84 kB / 0.7889 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.004569, allocations: 456 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.393e-05/0.004643, allocations: 62.31 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.004683, allocations: 20.5 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-06/0.004691, allocations: 0 / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.00472, allocations: 37.39 kB / 0.7895 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.004721, allocations: 0.875 kB / 0.7895 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001789/0.0049, allocations: 50.92 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.004953, allocations: 81.11 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.005086, allocations: 192.2 kB / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.005098, allocations: 25.7 kB / 0.7898 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.005184, allocations: 159.7 kB / 0.7899 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.005196, allocations: 15.88 kB / 0.79 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.005231, allocations: 20.31 kB / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.005384, allocations: 496.1 kB / 0.7905 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.005401, allocations: 7.984 kB / 0.7905 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.513e-05/0.005426, allocations: 20.5 kB / 0.7905 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.233e-05/0.005468, allocations: 28.84 kB / 0.7905 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.00547, allocations: 0 / 0.7905 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.739e-05/0.005548, allocations: 49.62 kB / 0.7906 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.005565, allocations: 10.88 kB / 0.7906 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.005571, allocations: 0.5625 kB / 0.7906 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.005587, allocations: 0 / 0.7906 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.003e-05/0.005657, allocations: 8.625 kB / 0.7906 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.005664, allocations: 8.688 kB / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.005684, allocations: 3.953 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.00569, allocations: 4.859 kB / 0.7906 GB, free: 9.016 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.239e-05/0.005772, allocations: 168.5 kB / 0.7907 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.005806, allocations: 4.531 kB / 0.7908 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.005829, allocations: 8.844 kB / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.005831, allocations: 0 / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.005836, allocations: 4 kB / 0.7908 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.005841, allocations: 3.938 kB / 0.7908 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.006197, allocations: 0.5434 MB / 0.7913 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.0062, allocations: 0 / 0.7913 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.71e-05/0.006217, allocations: 4 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.006218, allocations: 0.6562 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.006226, allocations: 4.656 kB / 0.7913 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.006227, allocations: 4 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006228, allocations: 0.8125 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.595e-05/0.006294, allocations: 92.06 kB / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.006312, allocations: 8.891 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.006325, allocations: 3.938 kB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-06/0.006335, allocations: 1.219 kB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.00635, allocations: 3.984 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.006353, allocations: 4 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.464e-05/0.006408, allocations: 140 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.006408, allocations: 0 / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001281/0.006536, allocations: 15.89 kB / 0.7916 GB, free: 7.93 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 8.195e-05/0.006618, allocations: 97.47 kB / 0.7917 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.117e-05/0.006699, allocations: 23.61 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.006701, allocations: 0 / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.049e-05/0.006711, allocations: 18.84 kB / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.006829, allocations: 4 kB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.007111, allocations: 170.5 kB / 0.7919 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.778e-05/0.007149, allocations: 59.34 kB / 0.7919 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.756e-05/0.007176, allocations: 7.984 kB / 0.7919 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.007199, allocations: 8.5 kB / 0.7919 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.007199, allocations: 1.219 kB / 0.7919 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of Templates: time 0.002005/0.009204, allocations: 351.9 kB / 0.7923 GB, free: 7.148 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.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.23952483991161]