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.002576/0.002576, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.003016/0.003016, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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 1.568/1.568, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 2.932/2.932, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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 1.553e-06/1.553e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.743e-05, allocations: 7.125 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00234/0.002367, allocations: 0.811 MB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001582/0.002526, allocations: 35.84 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.071e-05/0.002596, allocations: 0.5625 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.358e-05/0.00264, allocations: 9.312 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.00275, allocations: 15.81 kB / 0.7872 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 7.483e-05/0.002824, allocations: 23.97 kB / 0.7873 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.002967, allocations: 59.83 kB / 0.7873 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.003118, allocations: 36.95 kB / 0.7874 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.003236, allocations: 39.89 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.669e-05/0.003283, allocations: 15.92 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.003311, allocations: 8.781 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.003324, allocations: 4 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.003357, allocations: 24.84 kB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.003391, allocations: 11.94 kB / 0.7875 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.003533, allocations: 78.06 kB / 0.7875 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003535, allocations: 0 / 0.7875 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003535, allocations: 0 / 0.7875 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.00354, allocations: 0 / 0.7875 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.0006036/0.004144, allocations: 415.9 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.004188, allocations: 8.031 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.004247, allocations: 22.69 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.004477, allocations: 132.5 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.004495, allocations: 8.375 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.004511, allocations: 4.375 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.004708, allocations: 103.9 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.004718, allocations: 0.9062 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.004731, allocations: 4.359 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.00474, allocations: 4.906 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.824e-05/0.004828, allocations: 41.58 kB / 0.7882 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006527/0.005481, allocations: 474.4 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.041e-05/0.005571, allocations: 54.19 kB / 0.7887 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.005617, allocations: 28.05 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.005635, allocations: 8.469 kB / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.005665, allocations: 34.23 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.005667, allocations: 0 / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001863/0.005853, allocations: 50.75 kB / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.00592, allocations: 81.11 kB / 0.7889 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.006103, allocations: 199.2 kB / 0.7891 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.006125, allocations: 25.7 kB / 0.7892 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.006253, allocations: 158.7 kB / 0.7893 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.277e-05/0.006266, allocations: 9.703 kB / 0.7893 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.006314, allocations: 27.3 kB / 0.7893 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002819/0.006596, allocations: 0.4884 MB / 0.7898 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.006614, allocations: 4 kB / 0.7898 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-05/0.006651, allocations: 27.36 kB / 0.7898 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.006843, allocations: 36.5 kB / 0.7899 GB, free: 9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006845, allocations: 1.344 kB / 0.7899 GB, free: 9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.26e-05/0.006937, allocations: 57.62 kB / 0.7899 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.00695, allocations: 4 kB / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.006956, allocations: 5.531 kB / 0.7899 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.00697, allocations: 0 / 0.7899 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.335e-05/0.007033, allocations: 8 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.00704, allocations: 3.938 kB / 0.79 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.698e-05/0.007077, allocations: 10.7 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.007084, allocations: 4 kB / 0.79 GB, free: 8.906 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 0.0001197/0.007203, allocations: 160.6 kB / 0.7901 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.00724, allocations: 4 kB / 0.7901 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.007274, allocations: 11.45 kB / 0.7901 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.007275, allocations: 0 / 0.7901 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.007278, allocations: 0 / 0.7901 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.007284, allocations: 4.438 kB / 0.7901 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005198/0.007803, allocations: 0.5583 MB / 0.7907 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007805, allocations: 1.938 kB / 0.7907 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.007821, allocations: 4 kB / 0.7907 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.007823, allocations: 0 / 0.7907 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.007832, allocations: 7.938 kB / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007833, allocations: 0 / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007834, allocations: 2.594 kB / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.007957, allocations: 88.06 kB / 0.7908 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.007981, allocations: 11.95 kB / 0.7908 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.007994, allocations: 3.938 kB / 0.7908 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.909e-05/0.008013, allocations: 4 kB / 0.7908 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.008031, allocations: 0 / 0.7908 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.008033, allocations: 0.8438 kB / 0.7908 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001063/0.008139, allocations: 149.4 kB / 0.791 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008139, allocations: 0.8438 kB / 0.791 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001791/0.008318, allocations: 11.95 kB / 0.791 GB, free: 7.812 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 0.0001283/0.008446, allocations: 100.5 kB / 0.7911 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.008553, allocations: 27.62 kB / 0.7911 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008555, allocations: 0.8438 kB / 0.7911 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.31e-05/0.008578, allocations: 16.41 kB / 0.7911 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.008724, allocations: 5.719 kB / 0.7911 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.009116, allocations: 189.2 kB / 0.7913 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.125e-05/0.009197, allocations: 75.33 kB / 0.7914 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.009233, allocations: 8.062 kB / 0.7914 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.009261, allocations: 14.56 kB / 0.7914 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/0.009262, allocations: 0 / 0.7914 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of Templates: time 0.002912/0.01217, allocations: 339.8 kB / 0.7917 GB, free: 7 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.144439707044512]