Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.002661/0.002661, allocations: 87.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.003/0.003, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.547/1.547, allocations: 177.1 MB / 203.9 MB, free: 5.621 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.828/2.828, allocations: 359 MB / 0.6048 GB, free: 10.94 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.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.59e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002079/0.002105, allocations: 0.8127 MB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001243/0.00223, allocations: 40.72 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.002284, allocations: 5.062 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.002318, allocations: 7.875 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.426e-05/0.002402, allocations: 11.86 kB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.318e-05/0.002466, allocations: 20.64 kB / 0.7873 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.002592, allocations: 59.84 kB / 0.7873 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.002721, allocations: 43.22 kB / 0.7874 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.641e-05/0.002807, allocations: 39.84 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.965e-05/0.002867, allocations: 19.89 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.002889, allocations: 8 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.002899, allocations: 4 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.002922, allocations: 15.94 kB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.002962, allocations: 23.91 kB / 0.7875 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.003087, allocations: 71.7 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.003091, allocations: 3.984 kB / 0.7875 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003092, allocations: 4.844 kB / 0.7875 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.003097, allocations: 0 / 0.7875 GB, free: 11.63 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.0005382/0.003635, allocations: 400.6 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.003671, allocations: 9.5 kB / 0.7879 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.003724, allocations: 20.84 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.003933, allocations: 136.4 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.00395, allocations: 8.375 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.003963, allocations: 5.906 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.004143, allocations: 103.8 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.004153, allocations: 192 / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.004162, allocations: 384 / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.004169, allocations: 5.969 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.183e-05/0.004261, allocations: 43.86 kB / 0.7882 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006314/0.004892, allocations: 466.3 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.576e-05/0.004978, allocations: 60.22 kB / 0.7887 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.005027, allocations: 27.5 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.005038, allocations: 0 / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.005069, allocations: 37.33 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.00507, allocations: 0.5312 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001828/0.005253, allocations: 58.3 kB / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/0.005327, allocations: 82.48 kB / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.005502, allocations: 196.5 kB / 0.7891 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.005529, allocations: 29.7 kB / 0.7892 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.005638, allocations: 159.3 kB / 0.7893 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.00565, allocations: 7.953 kB / 0.7893 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.005691, allocations: 20.44 kB / 0.7893 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002597/0.00595, allocations: 0.4961 MB / 0.7898 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.005972, allocations: 8 kB / 0.7898 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/0.006002, allocations: 20.12 kB / 0.7898 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.709e-05/0.00606, allocations: 36.09 kB / 0.7899 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.006061, allocations: 1.281 kB / 0.7899 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.215e-05/0.006153, allocations: 53.62 kB / 0.7899 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.006166, allocations: 4.531 kB / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.006169, allocations: 0 / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.006187, allocations: 5.5 kB / 0.7899 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.831e-05/0.006255, allocations: 4 kB / 0.7899 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.006263, allocations: 3.938 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.333e-05/0.006296, allocations: 15.88 kB / 0.79 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.006307, allocations: 8.828 kB / 0.79 GB, free: 8.898 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.0001195/0.006426, allocations: 158.8 kB / 0.7901 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.006471, allocations: 11.94 kB / 0.7901 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.006491, allocations: 3.469 kB / 0.7901 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.006495, allocations: 4 kB / 0.7901 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.006498, allocations: 4 kB / 0.7901 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.006502, allocations: 3.938 kB / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.007014, allocations: 0.5604 MB / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.007015, allocations: 0 / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.007036, allocations: 4 kB / 0.7907 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007038, allocations: 0 / 0.7907 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.007046, allocations: 3.938 kB / 0.7907 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007047, allocations: 0 / 0.7907 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007048, allocations: 1.562 kB / 0.7907 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.007168, allocations: 92.12 kB / 0.7908 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.007191, allocations: 11.89 kB / 0.7908 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.007206, allocations: 7.922 kB / 0.7908 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.793e-05/0.007224, allocations: 0.5 kB / 0.7908 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.007243, allocations: 4.469 kB / 0.7908 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.007248, allocations: 4 kB / 0.7908 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001041/0.007352, allocations: 144.6 kB / 0.791 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007352, allocations: 0 / 0.791 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001846/0.007536, allocations: 11.95 kB / 0.791 GB, free: 7.797 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.000115/0.007651, allocations: 96.38 kB / 0.7911 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.547e-05/0.007747, allocations: 28.7 kB / 0.7911 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007748, allocations: 0 / 0.7911 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.544e-05/0.007774, allocations: 20.53 kB / 0.7911 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.007907, allocations: 1.891 kB / 0.7911 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.008265, allocations: 179.4 kB / 0.7913 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.022e-05/0.008345, allocations: 83.22 kB / 0.7914 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.008373, allocations: 4 kB / 0.7914 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.008398, allocations: 12.5 kB / 0.7914 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.008398, allocations: 0 / 0.7914 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of Templates: time 0.002899/0.0113, allocations: 355.4 kB / 0.7917 GB, free: 6.98 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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: 7.829490783042274]