Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001842/0.001842, 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.002042/0.002042, 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.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.637 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 3.021/3.021, allocations: 359 MB / 0.6048 GB, free: 10.95 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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.78e-05/3.965e-05, allocations: 3.016 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002193/0.002233, allocations: 0.806 MB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001607/0.002394, allocations: 41.19 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.002451, allocations: 0 / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.67e-05/0.002488, allocations: 7.875 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.987e-05/0.002588, allocations: 20.61 kB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.787e-05/0.002646, allocations: 19.97 kB / 0.7873 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.002774, allocations: 56.59 kB / 0.7873 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.002915, allocations: 39.86 kB / 0.7874 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.003032, allocations: 44.39 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.335e-05/0.003085, allocations: 21.16 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.003111, allocations: 8 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.003121, allocations: 4 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.003144, allocations: 13.47 kB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.003187, allocations: 27.91 kB / 0.7875 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.003317, allocations: 67.7 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.003319, allocations: 0 / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.00332, allocations: 1.219 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.003327, allocations: 4 kB / 0.7875 GB, free: 11.64 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.0005795/0.003907, allocations: 408 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.003948, allocations: 8.656 kB / 0.7879 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.004005, allocations: 18.25 kB / 0.7879 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.004222, allocations: 136.4 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.004241, allocations: 8.375 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.004258, allocations: 8.375 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.004439, allocations: 100.8 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.004449, allocations: 192 / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.004462, allocations: 4.906 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.00447, allocations: 4.375 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.051e-05/0.004561, allocations: 40.64 kB / 0.7882 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.005217, allocations: 471.3 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.311e-05/0.005311, allocations: 62.25 kB / 0.7887 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.674e-05/0.005357, allocations: 20.12 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.00537, allocations: 9.594 kB / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.005407, allocations: 37.39 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.005408, allocations: 0 / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001958/0.005604, allocations: 55.17 kB / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.005667, allocations: 81.11 kB / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.005861, allocations: 201.9 kB / 0.7891 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.005883, allocations: 25.7 kB / 0.7892 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.005998, allocations: 163.8 kB / 0.7893 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.516e-06/0.006006, allocations: 3.953 kB / 0.7893 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.006048, allocations: 23.38 kB / 0.7893 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002675/0.006315, allocations: 0.4914 MB / 0.7898 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.006335, allocations: 8 kB / 0.7898 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.304e-05/0.006378, allocations: 23.38 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.982e-05/0.006428, allocations: 27.38 kB / 0.7899 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.00643, allocations: 0 / 0.7899 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.702e-05/0.006527, allocations: 66.34 kB / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.006541, allocations: 4 kB / 0.7899 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.006546, allocations: 0.5312 kB / 0.7899 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.006561, allocations: 0 / 0.7899 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.006623, allocations: 9.375 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.006631, allocations: 3.938 kB / 0.79 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.00666, allocations: 7.891 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.006666, allocations: 5.156 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.000139/0.006805, allocations: 168.5 kB / 0.7901 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.006842, allocations: 4 kB / 0.7901 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.006871, allocations: 4.438 kB / 0.7901 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006873, allocations: 0 / 0.7901 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.006877, allocations: 1.719 kB / 0.7901 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.006886, allocations: 8.031 kB / 0.7901 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/0.007401, allocations: 0.5655 MB / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.007402, allocations: 0 / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.694e-05/0.007419, allocations: 1.281 kB / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.007421, allocations: 4 kB / 0.7907 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.007429, allocations: 3.938 kB / 0.7907 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.007431, allocations: 0.5 kB / 0.7907 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.007431, allocations: 0 / 0.7907 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.007549, allocations: 97.12 kB / 0.7908 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.007568, allocations: 3.953 kB / 0.7908 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.007584, allocations: 9.344 kB / 0.7908 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.709e-05/0.007601, allocations: 0 / 0.7908 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.007622, allocations: 3.984 kB / 0.7908 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.007624, allocations: 0 / 0.7908 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001032/0.007727, allocations: 147.8 kB / 0.791 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007728, allocations: 0 / 0.791 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001771/0.007905, allocations: 13.64 kB / 0.791 GB, free: 7.801 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.0001307/0.008035, allocations: 95.25 kB / 0.7911 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.008147, allocations: 32.52 kB / 0.7911 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.008149, allocations: 0 / 0.7911 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.9e-05/0.008168, allocations: 12.22 kB / 0.7911 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.008323, allocations: 10.25 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.0003885/0.008711, allocations: 176.2 kB / 0.7913 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.298e-05/0.008804, allocations: 80.12 kB / 0.7914 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.016e-05/0.008835, allocations: 4 kB / 0.7914 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.008861, allocations: 9.438 kB / 0.7914 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.008861, allocations: 0 / 0.7914 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of Templates: time 0.00321/0.01207, allocations: 354.8 kB / 0.7917 GB, free: 6.992 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 8.112657003919594]